using CSharpCodeProvider to compile strings
<p>Trying to figure out how to exploit the CSharpCodeProvider to compile string data at runtime.</p>

<p>In xml, i have what will amount to a predicate condition stored in a string.</p>

<p>I want to be able to, within the current context, execute and get the result of these statements.</p>

<p>for instance when 
<code>&lt;Condition&gt;Value=="ABCD1234"&lt;/Condition&gt;</code> is read and executed, it should look in the current object scope for value and return <code>true</code> or <code>false</code> based on the evaluation of the statement. </p>

<p>I think i'm going the right direction with CSharpCodeProvider, however all the examples i can find relate to compiling to a .DLL or .EXE, i really just want to compile in memory so i can perform the comparison and return true or false to another part of the app.</p>

<p>Any ideas as to how best to approach this? is CSharpCodeProvider even the best tool for the job?</p>
