Why can't the as operator perform user-defined conversions?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
I am confused... you never need to do that. Perhaps you are looking for explicit casting, but that will only work as reference type. Btw, have u looked at the output of an
as
expression in MSIL? That will show you the what actually happens when it is used. top secret
Download xacc-ide 0.0.3 now!
See some screenshots