+ 1

How does c# operator overloading work?

I am learning C# and came across operator overloading. I understand it is just defining a new operation for a predefined operator but I don't understand how to use it properly and I am a bit confused. Can someone please simplify this subject?

26th Jul 2020, 7:30 PM
Kevin
Kevin - avatar
2 ответов
+ 3
Hello Kevin , You can try search for examples in Code Playground. I just did and saw quite a lot of results on 'operator overload' search term.
26th Jul 2020, 8:50 PM
Ipang
+ 1
Ok thank you
26th Jul 2020, 8:54 PM
Kevin
Kevin - avatar