14 lines
182 B
C#
14 lines
182 B
C#
|
// 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;
|
||
|
|
||
|
}
|
||
|
}
|