|
Listing 9-7 extracted from chapter Fundamental concepts of the language
Listing 9-6< > Listing 9-8
This listing can be compiled with the command line: csc.exe /target:exe Example_9_7.cs Errors: 3 Warnings: 0
Example_9_7.cs
class Program {
public static void Main() {
#line 1 "Method Main()"
int i == 0; // <- ERROR : Not allowed to use the operator '=='
// in this context!
}
}
Copyright Patrick Smacchia 2006 2007
|