SomeNameSpace.SomeClass.SomeMethod() SomeNameSpace.SomeClass.OtherMethod()
when you are in SomeMethod() , say you want to call OtherMethod() . Using this prevents you from writing SomeNameSpace.SomeClass.OtherMethod() every time you want to use it.
Since you are already in SomeClass , this will reference SomeClass when you work inside SomeMethod() . So, all you have to do for the OtherMethod() link is go: this.OtherMethod()
This is a good shortcut that will also make your programs easier in the future if you need to change SomeNameSpace or SomeClass to other names .. this will still work the way you intended.
namespace Foo { public class Bar { public void Method() {
source share