mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-13 12:45:58 +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);
|
||||
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user