tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

String.Format “args” and Console.WriteLine “arg”

20 Nov 2013 1 mins .NET

I never noticed it, but as I was today rewriting some Console.WriteLine’s behavior I saw it clear. The Console.WriteLine (in linked overload) takes params named arg. But the String.Format takes params named args, as you would probably expect.

Wondering how that happened. 😃 Sure, it has almost zero impact on the code itself and changing it would be a breaking change (now with named parameters it’s little bigger break), but we has bigger changes in even behavior during the years. Or maybe it’s just to cosmetical. 😎

Profile Picture Jiří Činčura is an independent developer, .NET, C# and Firebird expert, focusing on data and business layers, language constructs, parallelism, databases and performance. He's Microsoft Most Valuable Professional and frequent speaker. You can read his articles, guides and tips and tricks at