// cs0023.cs : Operator ~ cannot be applied to operand of type `Foo' // Line : 10 public class Foo { public static void Main () { Foo k = new Foo (); int i = ~ k; } }