Re:C#: No, you don’t get to use the “as” operator any more
by masklinn on Friday April 29, 2011 @05:23PM
(#2499046)
> Actually you don't want to ever use exception driven development. The use of the as operator is a simple metadata check. Throwing exceptions in .Net is expensive.
it doesn't matter, it's throwing an exception when the caller code is broken. That's ok, it's an error.
it doesn't matter, it's throwing an exception when the caller code is broken. That's ok, it's an error.