65.9K
CodeProject is changing. Read more.
Home

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

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Sep 30, 2011

CPOL
viewsIcon

6730

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...