In C# how does one implement the ability to chain methods in one\'s custom classes so one can write something like this:
myclass.DoSomething().DosomethingElse(x)
DoSomething should return a class instance with the DoSomethingElse method.