The Fastest Way to Get a String’s Length in Microsoft .NET

This article analyzes the performance of different methods for retrieving the character count of a string in .NET.