Hello I am using .net 4.0
I have : IPersistor<T> and class CausePersistor implementing IPersistor<Cause> class PersonPersistor implementing IPersistor<Person> now, how can I have something like : IPersistor persistor; where I could assign an object that implements either IPersistor<Cause> , IPersistor<Person> ? In other words what is the abstraction to be used for IPersistor<object> ? I already tried IPersistor<object> persistor = new CausePersistor(); but this doesn't compile. Thank you WVS
