I tried searching on Google, and also using the search function on this site, but none of the answers I found answered my question.
In vb, if you need an easy way to convert from one of my classes to another custom class, I can define an operator CTypeto determine how to convert from one class to another. Then I can call CType( fromObject, toNewType)for conversion or in C #, I think you can just do a simple translation.
However, in C #, how do you determine how the actual selection will be processed from one custom class to another to another custom class (for example, you can use vb with an operator CType).
source
share