Click here to Skip to main content
11,478,873 members (65,471 online)
Click here to Skip to main content
Add your own
alternative version

Encapsulating value types into reference types

, 27 Sep 2004 CPOL 28.1K 165 10
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.




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
Web02 | 2.8.150520.1 | Last Updated 27 Sep 2004
Article Copyright 2004 by yilin_yang
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid