I have a base class 'A' that contains most of the functionality that
I want. However, it is necessary to derive classes from the base for some
unique behavior I require. I want to call a routine that will accept a
reference of any derived class of A. I don't know in C# how this is done.
Can someone help me? What would be the parameter for the DoSomething(ref
xxx) below?
public class A {}
public class B : A {}
public class C : A {}
void DoSomething(ref xxx){}
------
Steve