fork(1) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. TInt X = 3;
  8. Console.WriteLine(X);
  9. }
  10. }
  11.  
  12. class TInt
  13. {
  14. public TInt(int d) { _intvalue = d; }
  15. public TInt() { }
  16.  
  17. int _intvalue;
  18.  
  19. public static implicit operator TInt(int d)
  20. {
  21. return new TInt(d);
  22. }
  23. }
Success #stdin #stdout 0.02s 33872KB
stdin
Standard input is empty
stdout
TInt