Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » General » Statistics
 
Add your own
alternative version

Boxing a value type in .NET to make it a reference type

Mutable structures and classes behave differently when it comes to Generics. Although such differences cause some people to deride mutable structs as evil, they simply offer different semantics from class types. Such semantics are for many purposes superior to those of class types, but some code...

Statistics


License

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

About the Author

supercat9
Web Developer
Unknown
Embedded systems programmer since 1994.

| Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 2 Oct 2011
Article Copyright 2011 by supercat9
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid