mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-14 05:05:59 +00:00
Line length edits to C#
This commit is contained in:
parent
dbf07b80ac
commit
93fc8f5e80
@ -109,7 +109,7 @@ namespace Learning
|
|||||||
Console.WriteLine(fooString);
|
Console.WriteLine(fooString);
|
||||||
|
|
||||||
// formatting
|
// formatting
|
||||||
string fooFormattedString = string.Format("Check Check, {0} {1}, {0} {1:0.0}", 1, 2);
|
string fooFs = string.Format("Check Check, {0} {1}, {0} {1:0.0}", 1, 2);
|
||||||
Console.WriteLine(fooFormattedString);
|
Console.WriteLine(fooFormattedString);
|
||||||
|
|
||||||
// formatting dates
|
// formatting dates
|
||||||
@ -415,7 +415,8 @@ namespace Learning
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This is a specified constructor (it contains arguments)
|
// This is a specified constructor (it contains arguments)
|
||||||
public Bicycle(int startCadence, int startSpeed, int startGear, string name, bool hasCardsInSpokes)
|
public Bicycle(int startCadence, int startSpeed, int startGear,
|
||||||
|
string name, bool hasCardsInSpokes)
|
||||||
{
|
{
|
||||||
this.gear = startGear;
|
this.gear = startGear;
|
||||||
this.cadence = startCadence;
|
this.cadence = startCadence;
|
||||||
|
Loading…
Reference in New Issue
Block a user