C#: Fastest Way To Check Last Character of a String
C#: Fastest Way To Check Last Character of a String In this article we’ll benchmark in C#: Fastest Way To Check Last Character of a string. There are plenty of…
Developing is like telling jokes: if you have to explain it, it's not as good as it could be.
C#: Fastest Way To Check Last Character of a String In this article we’ll benchmark in C#: Fastest Way To Check Last Character of a string. There are plenty of…
C#: For Vs ForEach Vs While In this article we’ll benchmark iterating over commonly used collections and data structures with the following loop constructs in C#: For Vs ForEach Vs…
C#: Fastest Way to TRIM strings This will benchmark various techniques to determine in C# .Net: Fastest way to TRIM strings. Removing all the whitespace at the beginning and/or end…
C#: Is It Faster to Preallocate Dictionary Sizes? This test will benchmark populating C# Dictionary and ConcurrentDictionary objects to determine in C#: is it faster to preallocate dictionary sizes? Or…
Fastest Way to Compare Strings in C# .Net What is the fastest way to compare strings in C# .Net? Everyone’s had to do it. A lot of people instinctively use…
Fastest Collection for String Lookups in C# .Net All C# programmers have had to do this at some point in their career… look for a particular string as some sort…
Faster to Trim during or after assignment in C# .Net Does it make a difference if you Trim() during or after assigning a value to a variable in C# .Net?…
C#.Net: The Fastest Way to count substring occurrences in a string This will examine many techniques to determine in C# .Net: the Fastest Way to count substring occurrences in a…
C# .Net: Fastest Way to clear Collections In this article I’ll investigate different ways to clear out commonly used Collections such as Hashsets, Dictionaries, ConcurrentDictionaries, ArrayLists, and Arrays, benchmarking the…
The Fastest Way to count the number of times a character occurs in a string using C# .Net: This test stemmed from my other test on the fastest way to…