// CS0023: The `~' 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; } }