Programatically Converting a Literal into an equivalent Lambda Expression in c#3.0
As part of a project that we are working on at the moment we need a way of converting a literal or constant into a lambda expression which when evaluated will yield the original literal value (in c#). This must work in the same way for multiple types. For example given the literal string “hello” […]
