Click here to Skip to main content
Click here to Skip to main content
Alternatives

Tagged as

Go to top

Using Prefix vs As casts in C#

, 6 May 2010
Yesterday during code review, one suggestion that came up from the reviewer was to always use Prefix-casting instead of As-casting in our code and that brings out the question why? The answer lies in choosing a tradeoff between reliability and performance. The primary difference between...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sarang Date
Technical Lead Microsoft India R&D Pvt. Ltd. Hyderabad
India India
No Biography provided

| | Privacy | Mobile
Web02 | 2.8.140922.1 | Last Updated 6 May 2010
Article Copyright 2010 by Sarang Date
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid