Define and Execute Dynamic Methods
<pre><code>private ComplexAdvertismentsQuery QueryForm1(string searchQuery)
private ComplexAdvertismentsQuery QueryForm2(string searchQuery)
private ComplexAdvertismentsQuery QueryForm3(string searchQuery)
private ComplexAdvertismentsQuery QueryForm4(string searchQuery)
...
</code></pre>

<p>then i check </p>

<pre><code>query = QueryForm1(searchQuery);
if (query != null)
{
}

query = QueryForm2(searchQuery);
if (query != null)
{
}
</code></pre>

<p>can i make this dynamic? </p>

<p>i look here <a href="http://msdn.microsoft.com/en-us/library/exczf7b9.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/exczf7b9.aspx</a> and try with Type but this is not class it is jut method.</p>
