 int foo2 = (int)bar; // Unboxed back to value type.C# has direct support for object-oriented programming.An object is created with the type as a template and is called an "instance" of that particular type.