By alashcraft
via dotnet.dzone.com
Published: Aug 07 2009 / 12:15
Yesterday evening at work a team member and I were pair programming. We had a disagreement about how to code a few lines. The question was around whether to use the ?? operator or to use an if statement using String.IsNullOrEmpty. We settled it like most developers do and that is with a benchmark. Here’s the fun we had.



Add your comment