Var vs IEnumerable when retrieving LINQ Query

added by codegain
1/20/2011 3:32:32 AM

109 Views

Var derives type from the right hand side. And its scope is in the method. And it is strongly typed. IEnumerable is interface which allows forward movement in the collection.


0 comments