when there's no rows returned from the database. Will I always get a List object of Count = 0. Will there ever be a case where the List = null?
+1
A:
You will always get an empty list and never null if there are no rows.
Darin Dimitrov
2010-07-28 08:12:54
+2
A:
The list will never be null
. LINQ operations are fluent, hence having a list returning null can break chains of operations.
Igor Zevaka
2010-07-28 08:14:02