C
Chris Capel
Is there any way to express this more concisely?
if (someString == null || someString == "")
throw new ArgumentException("String must have something in it."); // or
something
What would be perfect would be someString.IsEmpty(), but MS didn't see fit
to include that particular one. Maybe there's something just as good. ??
Chris
if (someString == null || someString == "")
throw new ArgumentException("String must have something in it."); // or
something
What would be perfect would be someString.IsEmpty(), but MS didn't see fit
to include that particular one. Maybe there's something just as good. ??
Chris