> Calculator<T> b)
>         {
>             Calculator<T> x = new Calculator<T>();
>             x.res = a.Num1 + a.Num2;
>             return x;
>         }*/


here you have used x.res = a.Num1 + a.Num2;

but in object x "res" is neither a property nor a public variable so
you are not able to do the assighnment.

Reply via email to