What is the best practice for specifying CurrentCulture or InvariantCulture and not specifying the culture at all?
From what I have read, if you're doing serialization, for instance, you need InvariantCulture as a means of specifying a canonical representation of a data value. That's a relatively small percentage of culture-based string manipulations.
I find it long, verbose, and ugly most of the time to specify it every time I do, say:
var greeting = string.Format(CultureInfo.CurrentCulture, "Hello ", userName);
However, my team recently turned FxCop on and now there's a push to always use CultureInfo EVERYWHERE. What is the best technique to combine brevity, readability, and functionality?
Some good reading material: http://msdn.microsoft.com/en-us/library/4c5zdc6a.aspx and http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx.