2 // This test excercises user defined conversions and an implicit
3 // conversion to a type afterwards.
10 public static int Main ()
17 Console
.WriteLine ("Best implicit operator selected correctly");
24 public static implicit operator byte (Blah i
)
26 Console
.WriteLine ("Blah->byte");
31 public static implicit operator short (Blah i
)
33 Console
.WriteLine ("Blah->short");
37 public static implicit operator int (Blah i
)
39 Console
.WriteLine ("Blah->int");