I have method that takes a parameter of two possible custom types: TYPE1 or TYPE2
as shown in code sample below. Can someone advice how will this Method and the Call look like? (I need to have one method only that will accommodate both types):
public void AMethod(TYPE1orTYPE2 param)
{
param.property = value;
}
Go to the complete details ...