I am having below like code in asp.net mvc controller...
IEnumerable<object> object = null;
IEnumerable<object1> object1 = null;
object = object1.where(s=>s.IsActive);
If(object.Any())
{
    ...
}
or
if(object.Count > 0)
{
    ...
}
My question is, if any data exists in "object" will the object.Any() and object.Count > 0 both will return same result (true or false) or both are different?
Please, can anyone help me on this?
 
     
     
    