object reference not set to an instance of an object vb.net code example
Example 1: object not set to an instance of an object c#
Dont try to solve this error just accept it...
Example 2: object reference not set to an instance of an object in c#
You need to initialize the list first:
protected List<string> list = new List<string>();