Object reference not set to an instance of an object. visual studio 2019 code example
Example: 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>();
You need to initialize the list first:
protected List<string> list = new List<string>();