Take advantage of implicit and explicit operators to convert between user-defined types and improve the readability of your code. One of the lesser known features of C# is the ability to create ...
You may find that you have two classes that you frequently need to convert between. You could repeat the conversion code wherever you need it, or put it in some random class. Or you could add a new ...