public class List<T>
{
public int Count
{
get;
}
}
I noticed Count is an int, will the result be less than 0?
If Count could be less than 0, I have to write that:
if(myList.Count < 1)
{
}
otherwise I can write that:
if(myList.Count == 0)
{
}