mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-09-26 06:19:01 +02:00
Line length edits to C#
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user