Comparing speed of ToUpper, ToUpperInvariant, ToLower and ToLowerInvariant in .NET Framework and .NET Core
While I was reviewing some code week or two back, I got idea to test what’s the speed difference between ToUpper, ToUpperInvariant, ToLower and ToLowerInvariant. Of course, these methods are not doing the same thing, but sometimes it doesn’t really matter and if any is sufficient then, maybe, performance wins. Or at least I thought it’s going to be interesting to see whether there’s a difference and how much.
tabs ↹ over ␣ ␣ ␣ spaces by Jiří {x2} Činčura