Open a resource file with StreamReader?
<p>This doesnt work:</p>

<pre><code>string fileContent = Resource.text;
    StreamReader read = File.OpenText(fileContent);

    string line;
            char[] splitChar = "|".ToCharArray();

            while ((line = read.ReadLine()) != null)
            {
                string[] split = line.Split(splitChar);
                string name = split[0];
                string lastname = split[1];

            }

            read.Dispose();
</code></pre>

<p>How do you open a resource file to get its contents?</p>
