C# developers! Are you tired of slow string parsing code?

Mark Farragher
4 min readMar 24, 2019

I’m sure you’ll agree that slow C# code is a big problem.

Slow code on the web will not scale to thousands of users. Slow code will make your GUI unusable. Slow code will make your mobile apps languish in the app store.

But it’s hard to avoid slow code because the .NET Framework is so huge. For any given problem there are many solutions, and it is not always clear which solution is the fastest.

Did you know that handling exceptions incorrectly can make your code run five hundred