Wednesday, July 6, 2011

.ToString() antipattern

Nothing worse than finding .ToLower().ToString() littered throughout your codebase.  Calling .ToString() on an object that is already a String is annoying.  Don't do it. Ever.