The mechanism of giving a special meaning to a Standard c# operator with respect to a user defined data type such as classes or structures is known as OPERATOR OVERLOADING.
All C # binary operators can be over loaded. i.e +, - , *, / , %,&,|, <<,>>.
All C# unray operators can be over loaded. i.e +,_,!,++,-- .
All relational operators can be over loaded , but only as pairs. i.e = =, !=, <>, <=, >=
In simple terms let us say if + is overloaded
if you want to find a + b
if a,b are integer result will be sum of a and b and result is int.
if a,b are flot result will be sum of a and b and result is flot.
if a,b are two strings result will be concatenation of String a and String b and final result is string.
In this way + is overloaded with different operations depending up on the data.
For more online free classes on c# click on http://www.wiziq.com/online-classes/c#-classes.
Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator