Community

.NET Tip: Comparing Strings Safely

(Eric Smith) You often need to compare strings (or other data types), but sometimes a value could be null or DBNull if it’s coming from the database. The built-in C# comparison functions don’t handle nulls properly, so I wrote a couple of functions to take care of this for me.

Read More - Register for Free Membership