C# ConvertTo Vs Parse
C# ConvertTo Vs Parse This article details the benchmark and performance showdown: C# ConvertTo vs Parse methods. In any programming language, data type conversions are inevitably going to happen. C#…
Developing is like telling jokes: if you have to explain it, it's not as good as it could be.
C# ConvertTo Vs Parse This article details the benchmark and performance showdown: C# ConvertTo vs Parse methods. In any programming language, data type conversions are inevitably going to happen. C#…
C#: Dictionary Vs ConcurrentDictionary In this article we are going to benchmark a C# Dictionary Vs ConcurrentDictionary while adding/updating key-value pairs. This test came about while I was upgrading multiple…
C# TryParse Vs Try Catch This article details the C# benchmark showdown between TryParse Vs Try Catch performance. C# programmers are undoubtedly familiar with the multiple ways data can 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…
LIKE vs SUBSTRING vs LEFT/RIGHT vs CHARINDEX All too often developers need to query a database table for records which begin and/or end with a certain textual pattern. For instance,…
Fastest way to insert new records where one doesn’t already exist SQL Developers come across this scenario quite often – having to insert records into a table where a record…
Fastest way to compare multiple column values I was recently working on a project with stored procedures that had a significant amount of column comparisons in a MERGE statement. This…
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…