9 public static void Main ()
11 Console.WriteLine ("Blah ");
14 k = new Blah () + new Blah ();
19 Console.WriteLine (number);
21 // Uncomment this to see how beautifully we catch errors :)
22 // Console.WriteLine (k);
24 //Console.WriteLine ("This is : " + number);
28 public static Blah operator + (Blah i, Blah j)
30 Console.WriteLine ("Wooo!");
34 public static Blah operator + (Blah i)
36 Console.WriteLine ("This is the unary one !");
41 public static Blah operator ~ (Blah i)
43 Console.WriteLine ("This is even better !");
47 public static implicit operator int (Blah i)
49 Console.WriteLine ("User-defined implicit conversion works !");