I\'ve been working with C# for many years now, but just come across this issue that\'s stumping me, and I really don\'t even know how to ask the question, so, to the example!
There's no one-liner for this.
If you do it a lot, you could look into some form of code generation, perhaps using T4 templates and Reflection.
BTW COBOL has a statement for this: MOVE CORRESPONDING HOME TO WORK.