Is there a way to call members within an object's scope? For example, instead of this:
myObject.Foo();
myObject.value = 0;
To call within the scope of myObject:
myObject.
{
Foo();
value = 0;
}
This would only serve to save on typing like the implicit type var
does. It seems possible since at compile time it's known of what type myObject is.