Boxing and unboxing in C#

In this article, I’m going to explain the essential concepts of boxing and unboxing.

Boxing

Boxing is an implicit conversion of a value type to an the object type or any interface implemented by that value type. This process is used by the CLR to wrap a value type into a System.Object instance and stores it ion the managed heap.