mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-09-25 22:09:00 +02:00
Line length edits to C#
This commit is contained in:
@@ -109,7 +109,7 @@ namespace Learning
|
||||
Console.WriteLine(fooString);
|
||||
|
||||
// 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);
|
||||
|
||||
// formatting dates
|
||||
@@ -415,7 +415,8 @@ namespace Learning
|
||||
}
|
||||
|
||||
// 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.cadence = startCadence;
|
||||
|
Reference in New Issue
Block a user