Linq Options

time to read 1 min | 136 words

Here are a few things that Linq enable:

ExecuteInUI( txtBox => txtBox.Text = "new val" );

This is just nicer syntax of something that we had for a long time

ExecuteInRemoteServer( a => a.LongCalculation() );

This is much more interesting, because I can literally walk the tree of dependent assemblies, then ship the entire code base to a remote server and continue the operation. Continuations are also an interesting concept in this regard.