Answers for "c# determine if object is null or empty"

C#
7

c# check if string is empty

if (string.IsNullOrEmpty(myString)) {
   //
}
Posted by: Guest on September-03-2020
1

c# tell if list object is empty

if(listOfObjects.Count == 0){
//when list is empty
}
Posted by: Guest on August-05-2020

Code answers related to "c# determine if object is null or empty"

C# Answers by Framework

Browse Popular Code Answers by Language