Click here to Skip to main content
12,551,121 members (50,562 online)
Click here to Skip to main content

Tagged as


1 bookmarked

Using Prefix vs As casts in C#

, 6 May 2010 CPOL
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...
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


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


About the Author

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

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161021.1 | Last Updated 6 May 2010
Article Copyright 2010 by Sarang Date
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid