Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check multiple variables for null

bool allNull = strings.All(s => s == null);
// if you are using a collection
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #multiple #variables #null
ADD COMMENT
Topic
Name
4+8 =