Daily Archive: March 25, 2020

Conversions (explicit or implicit) and interfaces in C# 0

Conversions (explicit or implicit) and interfaces in C#

One of the most useful, although more potentially dangerous, features of C# is the possibility of overloading the conversion operators ( casting ) and specifically the implicit conversion. Being able to overload the explicit...