Click here to Skip to main content
15,896,063 members
Articles / Programming Languages / C# 3.5

Generic Casting of .NET objects with a useful error message

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
30 Jan 2011CPOL 12.2K   2  
Use an extension method that applies to any object to Cast to other types

Views

Daily Counts

License

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


Written By
T-C
Web Developer
New Zealand New Zealand
TC is a software developer with a Degree in Information Systems and commercial experience ranging from C DLL's to N-Tier Web applications.

Comments and Discussions