inheritance Problems with undefined types
问题 I want to be able to create a constructor that can call on its types but without any constraints. public class Box { public class Command { public string name; public string num; public Object PARAMS { get; set; }//<--- HERE } } I want PARAMS to be an undefined type that could possibly call one of these other classes public class Person:Box { public string LastName { get; set; } public string FirstName { get; set; } } or public class Item:Box { public string ItemName { get; set; } public