Optimization Tips — A list – as the title suggests it – of optimization tips. I liked the following one because of its elegance (and because I've never encountered it), although the achieved optimization is very subtle: myString.Equals("foo", StringComparison.OrdinalIgnoreCase) instead of myString.ToUpper() == "FOO". There are various other good (or better) tips on that list, so give it a look.

Write a Comment