I thought calling Equals() on two empty Lists would return true, but that’s not the case. Could someone explain why?
var lst = new List<Whatever>();
var lst2 = new List<Whatever>();
if(!lst.Equals(lst2))
throw new Exception("seriously?"); // always thrown
Equalshere is comparing reference of two lists which would be different because they are separate lists and that’s why it will always be false in this case.