to “as” or not to “as”
Saturday, November 22nd, 2008When really concerned with performance, should you explicitly cast an object or should you use the “as” operator? Outside of circumstances where the “as” operator must be used because of constructor arguments or the potential for them down the road, the answer is that it depends. Different classes have different costs. If performance is crucial, [...]

