Casting operators - Ran Wahle's blog

added by ranw
3/16/2010 11:57:18 PM

1 Kicks, 63 Views

Many times we’ve encountered the need to cast a variable from one type to another. On many occasions we couldn’t and therefore had to write our own conversion methods. Many of these occasions the conversion methods involved our own classes. In this post I will demonstrate the casting operators that will allow as to have an implicit or explicit conversions between our types.


0 comments