fork download
  1. using System;
  2. class x
  3. {
  4. public void a()
  5. {
  6. Console.WriteLine("i love csharp");
  7. }
  8. }
  9. class y : x
  10. {
  11. public void a()
  12. {
  13. /* add statement here */
  14.  
  15.  
  16. base.a();
  17. Console.Write("bye");
  18. }
  19. }
  20. class program
  21. {
  22. static void Main(string[] args)
  23. {
  24. y obj = new y();
  25. obj.a();
  26. }
  27. }
Success #stdin #stdout 0.02s 24172KB
stdin
Standard input is empty
stdout
i love csharp
bye