fork(1) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public struct MyClass
  6. {
  7. public static implicit operator MyClass(Nullable<int> value)
  8. {
  9. return new MyClass();
  10. }
  11. public void DoJob()
  12. {
  13. Console.WriteLine("Job.");
  14. }
  15. }
  16. public static void Main()
  17. {
  18. // your code goes here
  19. MyClass instance = null;
  20. instance.DoJob();
  21. Console.WriteLine("op hui");
  22. }
  23. }
Success #stdin #stdout 0.04s 23912KB
stdin
Standard input is empty
stdout
Job.
op hui