Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# list contains null

if (myList.Any(i => i != null))
{
    DoSomeThing();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #null
ADD COMMENT
Topic
Name
5+1 =