static void ObjectWriteLine(object x) { // object.ToString が呼ばれる // 値型に対してはボックス化が必要 Console.WriteLine(x.ToString()); }