how to check if a list is empty in c# code example Example: c# tell if list object is empty if(listOfObjects.Count == 0){ //when list is empty }