C#: Null Reference Exception
289
What is a NullReferenceException, and how do I fix it?
147916
C# error: Use of unassigned local variable
5766
Calling a function from a string in C#
18698
How to populate/instantiate a C# array with a single value?
20892
C# nullable string error
1816
Non-static variable cannot be referenced from a static context
97672
How to dynamically call a method in C#?
53319
ArgumentException or ArgumentNullException for string parameters?
9073
Cannot make a static reference to the non-static method
143082
How to use class name as parameter in C#
57685
Calling method from constructor
103911
Cross Reference problem
79586
System.NullPointerException: Attempt to de-reference a null object
69072
Using LINQ to find item in a List but get "Value cannot be null. Parameter name: source"
107423
After ExecuteScalar: Object reference not set etc
93966
The ViewData item that has the key 'XXX' is of type 'System.Int32' but must be of type 'IEnumerable'
150853
An object reference is required to access non-static member