|
by luisabreu via LA.NET [EN] on 7/19/2010 2:18:00 PM
[Update: small update to the implicit operators code. Thanks Kevin]
In a previous post, I’ve mentioned conversion operators. But what is a conversion operator? In the past, I bet that we’ve all needed to convert from one type of object to another. When we’re talking about primitive types, the CLR knows how to perform the conversion (of course, when that is possible). However, when we’re not talking about primitive types, the CLR is only able to perform the conversion if t
... [ read more ]
|
|