score:3

Accepted answer

two options come to mind:

  • if the operations are fairly simple you can have a look at the new roslyn ctp. roslyn is a new managed compiler for visual studio that you can use in your own code. it let's you easily compile snippets of code and execute them.
  • another thing you can have a look at are expression trees. with the expression tree serializer you can serialize an expression tree and possible save it in a database. but then you will need some kind of user interface to construct those expression trees. on the msdn you can find some examples of how to construct an expression tree by hand

Related Query

More Query from same tag