fork download
  1. abstract class IFoo
  2. {
  3. public abstract IFoo foo(IFoo a);
  4. }
  5.  
  6. class IFoo_int : IFoo {
  7. private int content = 0;
  8. public IFoo_int(int content) {
  9. this.content = content;
  10. }
  11.  
  12. public override IFoo foo(IFoo a)
  13. {
  14. return this;
  15. }
  16. }
  17. class MainClass
  18. {
  19. static void Main(string[] args)
  20. {}
  21. }
Success #stdin #stdout 0s 33480KB
stdin
Standard input is empty
stdout
Standard output is empty