Marino van der Heijden

Avatar
  • Total activity 9
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 3
  • Subscriptions 2
  • Created

    Nullable DateTime with HasValue check

    Please take a look at the underneath code:1.     DateTime? startDate = SomeMethod();2.     if (startDate.HasValue)3.     {4.          DoSomething();5.     }ReSharper says with constructions like th...
    • 4 followers
    • 4 comments
    • 0 votes