Fastest Way to Compare Strings in C# .Net
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…
Developing is like telling jokes: if you have to explain it, it's not as good as it could be.
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…
C# .Net: fastest way to convert an int to a string Here I am going to benchmark several techniques to find the fastest way to convert an int to a…
C# .Net: What is the fastest conditional statement? This will benchmark the C# if-else construct, switch statement, and C# ternary operator (?) to determine which is the fastest in C#…
C# .Net: Fastest Way to check if a Number is Odd Or Even This will benchmark many techniques to determine in C# .Net: Fastest way to check if a number…
C# .Net: Use the Modulus Operator or Alternative? This investigates the performance of the modulus operator % in C# .Net and benchmarks against other techniques to determine if you should…