0

Does C# lessons explain these concepts?

does SoloLearn lessons explain all of these numbers and brackets? I dont have time to waste, so I must learn fast all of this, maybe there is a better page to learn C#? "{0, -10} {1, 5:d} {2, 5:f} {3, 5:d} {4, -16} {5, -12}" + "{6, 8:Y} {7}" I took this line from this code of line: Console.WriteLine ("{0, -10} {1, 5:d} {2, 5:f} {3, 5:d} {4, -16} {5, -12}" + "{6, 8:Y} {7}", dog.Name, dog.ChipId, dog.Weight, dog.Age, dog.Owner, dog.Phone, dog.VaccinationDate, dog.Agressive);

9th Sep 2018, 8:23 PM
Shaitzu15
Shaitzu15 - avatar
1 Resposta
+ 4
SoloLearn just covers "{0} {1}" usage. It is so much more powerful. https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
9th Sep 2018, 8:40 PM
John Wells
John Wells - avatar