I have this class:
class Foo
{
private int _value;
public static int operator +(Foo foo1, Foo foo2)
{
return foo1._value + foo2._value;
}
}
Why am I able to access foo1._value
, which is explicitly declared as private
?