This for C#? Passing Class type as a parameter
I have a class adapter that implements an Interface. I want to fill an array structure with MyFooClass instances where M
The method:
public void FillWsvcStructs(DataSet ds) where T : IElemRequest, new() { ... IElemRequest req = new T(); ... }
Calling the method:
FillWsvcStructs(ds);