Search code examples
c#.netvbaexpressionworkflow-foundation-4

Why all expressions on Workflow Foundation 4.0 are Visual Basic syntax?


In Workflow Foundation 4.0 (even older versions ), all expressions are Visual Basic syntax even I choose though the C# project?

Why these expressions are not C# syntax?


Solution

  • The real reason was that Visual Basic was the only language that provided an in-memory compiler. For C# expressions we had to take a different approach.