What you have here the dynamic creation (a-la-python) of a variable and a method.
Humm... this opens up a HUGE amount of very interesting scripting capabilities, namely the ability to dramatically simplify the scripting of certain APIs :).
Some references:
- Dynamic in C# 4.0: Introducing the ExpandoObject
- ExpandoObject Class (see code samples at bottom)
Here is the code as a Gist: