system.linq.strings is inaccessible due to its protection level
<p>I am having a problem with the last line of code because of the strings. It is giving me the error <code>system.linq.strings is inaccessible due to its protection level</code> even though I am 
using the <code>Microsoft.VisualBasic</code> namespace.</p>

<pre><code>private byte[] CreateKey(string strPassword)
{
    //Convert strPassword to an array and store in chrData.
    char[] chrData = strPassword.ToCharArray();
    //Use intLength to get strPassword size.
    int intLength = chrData.GetUpperBound(0);
    //Declare bytDataToHash and make it the same size as chrData.
    byte[] bytDataToHash = new byte[intLength + 1];

    //Use For Next to convert and store chrData into bytDataToHash.
    for (int i = 0; i &lt;= chrData.GetUpperBound(0); i++) {
        bytDataToHash[i] = Convert.ToByte(Strings.Asc(chrData[i]));
    }
}
</code></pre>
