Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Encapsulating value types into reference types

, 27 Sep 2004 CPOL
Value Types can not be referenced (boxing is another thing) as fields of objects, this prevents you fetching FieldInfo of the value type instance. Here is the 'worst' solution I'v found until now.

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

Software Developer (Senior) NOC
China China
Please view my resume at

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150123.1 | Last Updated 27 Sep 2004
Article Copyright 2004 by yilin_yang
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid