4 ms·
> 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 expens
by masklinn 16y ago
> 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.