public int AClassWithBReponseRefToCallAMethod() { var a = new AClass <GenericClassB>(); var gen = new GenericClassB(); a.SetReponse(gen); RefMethod(ref a); var aMoop = a.boop(); return(aMoop); }
public int BClassWithBReponseRefToCallAMethod() { var b = new BClass <GenericClassB>(); var gen = new GenericClassB(); b.SetReponse(gen); RefMethod(ref b); var bMoop = b.boop(); return(bMoop); }