Answers for "c# how to check if a list is null or contains"

C#
0

c# list contains null

if (myList.Any(i => i != null))
{
    DoSomeThing();
}
Posted by: Guest on December-22-2020

Code answers related to "c# how to check if a list is null or contains"

C# Answers by Framework

Browse Popular Code Answers by Language