An ex-coworker wrote this:
String.Format("{0:#;;} {1:records;no records;record}", rows, rows - 1);
//Rows is a integer value
I read articles like these
Code Project - Custom String Formatting in .NET
MSDN - Custom Numeric Format Strings
But I don't still get it how that format works. Obviously I can see the output but I don't understand this part {0:#;;}
and the second one. I want to do the same thing for specifying ages (year, years...)
I'm very curious about this string format. Can someone can explain this behavior? The author does not work with us anymore.
";"
Section Separator – Turbojet