14 lines
182 B
C#
Raw Permalink Normal View History

// 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;
}
}