fork download
  1. using System;
  2. using System.IO;
  3. using System.IO.Stream;
  4.  
  5. public class Test
  6. {
  7. public static void Main()
  8. {
  9. stdout << "Nathan is bitch: " + new Nathan().bitch;
  10. stdin.readline();
  11. }
  12. }
  13.  
  14. public class Nathan
  15. {
  16. public bool bitch {public get; set;}
  17. public Nathan()
  18. {
  19. bitch = true;
  20. }
  21. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(3,1): error CS0138: `System.IO.Stream' is a type not a namespace. A using namespace directive can only be applied to namespaces
/usr/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)
prog.cs(16,28): error CS0273: The accessibility modifier of the `Nathan.bitch.get' accessor must be more restrictive than the modifier of the property or indexer `Nathan.bitch'
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty