Click here to Skip to main content
11,505,744 members (58,969 online)
Click here to Skip to main content
Articles » Languages » C# » General » Alternatives

Tagged as

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

, 2 Oct 2011 CPOL 2.3K
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...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

30 Sep 2011
BobJanova
1 alternative  
How to wrap a value type so it can be used in positions where a reference type is required

License

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

Share

About the Author

supercat9
Web Developer
Unknown
Embedded systems programmer since 1994.

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 2 Oct 2011
Article Copyright 2011 by supercat9
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid