asp.net if list = null code example Example: c# tell if list object is empty Click to copyif(listOfObjects.Count == 0){ //when list is empty }