(a) int x = 1951; if (x) // Illegal in C# { doSomethingUseful(); } (b) int x = 2001; if (x!= 0) // Legal in C# { doSomethingElse(); }