Well, I feel like I have totally missed the boat on something.
I love using string.Format() in order to construct messages and other things that need to be written to the console, etc. For example:
string msg = string.Format("I can't believe it's {0} already!", DateTime.Now.Date.ToShortDateString());
Console.WriteLine(msg);
Anyway. I just learned that the line above can be written as:
Console.WriteLine("I can't believe it's {0} already!", DateTime.Now.Date.ToShortDateString());
Seems as if the compiler can determine that you're formatting a string and will infer the string.Format() function.
Too bad it can't infer the following:
string msg = "I can't believe it's {0} already!", DateTime.Now.Date.ToShortDateString();