Boxing makes it possible to call methods on a value

/*
C#: The Complete Reference
by Herbert Schildt
Publisher: Osborne/McGraw-Hill (March 8, 2002)
ISBN: 0072134852
*/
// Boxing makes it possible to call methods on a value!
using System;
public class MethOnValue {
public static void Main() {
Console.WriteLine(10.ToString());
}
}
Related examples in the same category