fork(3) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int id = 0;
  8. id = id++;
  9. object.id = id;
  10.  
  11. Console.WriteLine(object.id);
  12.  
  13. }
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(9,10): error CS0117: `object' does not contain a definition for `id'
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
prog.cs(11,28): error CS0117: `object' does not contain a definition for `id'
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty