What is operator overloading in .net?



What is operator overloading in .net?..

Answer / Amar Dixit

Operator Overloading is a feature in C# (and other .NET languages) that allows you to define the behavior of operators like +, -, *, /, etc., for your own user-defined types. This can make custom data types behave more naturally when performing common operations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is the purpose of delegates in .net?

2 Answers  


Why SOAP is required?

1 Answers   Alcatel-Lucent,


What are possible implementations of distributed applications in .NET?

1 Answers  


Without UDDI, is it possible to access a remote web service ?

1 Answers   RR, TCS, Tech Mahindra,


Differentiate between managed and unmanaged code?

1 Answers  


Do you know what is garbage collector?

1 Answers  


How anonymous method is different from a lambda expression?

1 Answers  


Explain what is the difference between encrypting a password and applying a hashing?

1 Answers  


What is IIS and how we deploy website on IIS.

2 Answers   NetLink,


Explain what is heap and what is stack?

1 Answers  


Difference b/w dataset.clone and dataset.copy ?

1 Answers   Protech,


What is the base class of Button control in .NET?

1 Answers  


Categories