fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. var test = new Test();
  8. Action typeThatAcceptsVoid = test.SomeAction;
  9. typeThatAcceptsVoid();
  10. }
  11.  
  12. public void SomeAction()
  13. {
  14. Console.WriteLine("C++ SUCKS!");
  15. }
  16. }
Success #stdin #stdout 0s 131520KB
stdin
Standard input is empty
stdout
C++ SUCKS!