I have a class as shown below
public class Survey { public Survey() { SurveyResponses=new List();
For me the issue was not having a default constructor. Example: List MyVar; // MyClass needs a public constructor