I was wondering why I can not have generic property in non-generic class the way I can have generic methods. I.e.:
public interface TestClass { IEnumerabl
I made somthing like that. It type checks at run time.
public class DataPackage { private dynamic _list; public List GetList() { return (List)_list; } public void SetList(List list) { _list = list; } public string Name { get; set; } }