Boxing/Unboxing In .NET

In the .NET Framework there is a feature called boxing, which goes hand in hand with unboxing. Boxing is an implicit conversion of a value-type to the object type. While this is a very nice feature when programming normal applications, this overhead becomes a big performance hit when working with algorithms that need to do lots of operations, such as path finding.

Read more at http://blog.cumps.be/boxing-unboxing-in-net/

No Comments