Object reference not set to an instance of object when using a List in C#
289
What is a NullReferenceException, and how do I fix it?
51011
C# variance problem: Assigning List as List
7935
CS0120: An object reference is required for the nonstatic field, method, or property 'foo'
8479
System.Collections.Generic.IEnumerable' does not contain any definition for 'ToList'
67299
"Instantiating" a List in Java?
96147
List has more than 1 row for assignment to SObject on action button in a page from managed package
86775
Using  on a List doesn't update model values
33420
Database.Saveresult into a list of object
11452
Convert a list to a string in C#
53752
Populating a list of integers in .NET
107423
After ExecuteScalar: Object reference not set etc
61982
How to convert a Collection to List?
64332
avoiding null reference exceptions
142031
Variable scope confusion in C#
28203
System.QueryException: List has no rows for assignment to SObject
134010
Can Visual Studio tell me which reference threw a NullReferenceException?
67952
In C#, is it possible to cast a List to List?