 Accessing an instance member
Instance members can be accessed through the name of a variable.string foo = "Hello";
string fooUpper = foo.ToUpper();


Accessing a static class member
Static members are accessed by using the name of the class or other type.int r = String.Compare(foo, fooUpper);


Accessing a member through a pointer
In "unsafe code", members of a value (struct type) referenced by a pointer are accessed with the operator just like in C and C++.