fork(1) download
  1. internal class B { }
  2.  
  3. public class D : B { }
  4.  
  5. public class Test
  6. {
  7. public static void Main() { }
  8. }
Compilation error #stdin compilation error #stdout 0s 29016KB
stdin
Standard input is empty
compilation info
prog.cs(3,14): error CS0060: Inconsistent accessibility: base class `B' is less accessible than class `D'
prog.cs(1,16): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty