C# method gives me an error
<p>I have created one method in c# that has two parameters. I have just changed its parameter name but now it is giving me old parameters value. And the error is coming while runtime.</p>

<p>This is new method which i have changed its parameter</p>

<pre><code>public void UpdatePagedDataSet(string configKey, string configValue)
{
---SOME CODE---
}
</code></pre>

<p>This is old method works fine</p>

<pre><code>public void UpdatePagedDataSet(string CONFIGKEY, string CONFIGVALUE)
{
---SOME CODE---
}
</code></pre>

<p>Error:</p>

<pre><code>could not find a non-generic method 'UpdatePagedDataSet' that has parameters: CONFIG_VALUE, configKey, configValue
</code></pre>

<p>What is the mistake i have done...??</p>
