2 ms·
Unsure what's going on under the hood but C# allows access to fields transparently to the caller. One of the nicer features of the language. foo.baz = 1;
by Gibbon1 4y ago
Unsure what's going on under the hood but C# allows access to fields transparently to the caller. One of the nicer features of the language.
foo.baz = 1; // baz could be a int or could be a setter.
int baz = foo.baz; // same