A
Alberto Bencivenni
Hi All,
I know there is no way to overload the = operator in C# for a class
object: you can only get something similar using the (myClass)
myClass.Clone(); method or creating a copy constructor.
The question is: Does a more elegant way to do this exist? (I am
thinking to how elegant is the operator = overloading in standard C++)
Thanks,
Alberto
I know there is no way to overload the = operator in C# for a class
object: you can only get something similar using the (myClass)
myClass.Clone(); method or creating a copy constructor.
The question is: Does a more elegant way to do this exist? (I am
thinking to how elegant is the operator = overloading in standard C++)
Thanks,
Alberto