1 2 3 4 5 6 7 8 9 10 11 12 13 14
// CS0029: Cannot implicitly convert type `X' to `bool' // Line : 11 class X { } class T { static void Main () { X x = new X (); if (x){ } } }