Ejemplo n.º 1
0
        private bool CallMethodWithOutParam(IRefAndOutParams refAndOutParams)
        {
            var test = 45;

            return(refAndOutParams.SomeMethodWithOutArg(out test));
        }
 private bool CallMethodWithOutParam(IRefAndOutParams refAndOutParams)
 {
     var test = 45;
     return refAndOutParams.SomeMethodWithOutArg(out test);
 }
Ejemplo n.º 3
0
        private bool CallMethodWithRefParam(IRefAndOutParams refAndOutParams)
        {
            var test = "hello";

            return(refAndOutParams.SomeMethodWithRefArg(ref test));
        }
 private bool CallMethodWithRefParam(IRefAndOutParams refAndOutParams)
 {
     var test = "hello";
     return refAndOutParams.SomeMethodWithRefArg(ref test);
 }