9
Shouts

Casts using “as” (Pitfalls and Best Practices to Prevent Them #5)

published 1272 days, 23 hours, 22 minutes ago posted by winSharp93winSharp93 1275 days, 2 hours, 51 minutes ago
Sunday, November 29, 2009 7:45:00 PM GMT Friday, November 27, 2009 4:15:56 PM GMT

Well – “as” is faster to type than a “real” cast using two brackets and has the same result. Really?

category: How To | clicked: 1 | | source: winsharp93.wordpress.com | show counter code
tags: Pitfalls, C#, casting, As, Debugging, Codingstyle