Basically, I would like to be able to write a script file (in C# syntax) but then read this into an application so the application will execute the contents of the file.
I don't want the script file to contain the namespaces etc. but the script file will be straight forward C#. For example a script file might look like:
if (Balance == 0 && Withdrawal > 0)
{
// Don't allow this to happen
}
Basically, like Business Rules but in a script format.
Any ideas or references that I could look at?