Is this correct syntax for a C# statment
<p>Is this the correct syntax for a C statment. I recieve the following error message in Visual Studios when trying to use it.</p>

<pre><code>intResult = Convert.ToInt32(cmdSelect.Parameters("RETURN_VALUE").Value);
</code></pre>



<pre><code>non-invocable memeber of System.Data.SqlClient.SqlCommand.Parameters can not be used as a method.
</code></pre>

<p>Can anyone help clear this up.</p>

<p>I am using the following namespaces as well</p>

<pre><code>using System;
using System.Data;
using System.Configuration;
using System.Web.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Web.Security;
</code></pre>
