I have been working on a `Advanced log in` project. And i was going to store pass words on a text file. i have found some code on the web but their is one problem. I don't know what to convert it to!

public void Getpasswd()
          if (File.Exists("NxPasswds.txt"))
            StreamReader sr = new StreamReader("NxPasswds.txt");
            string score = sr.ReadLine();
            getwords = Convert.(pass);

So the problem is here getwords = Convert.(pass); I dont know what to put after Convert. . I have some idea's though, could it be; .ToString(); or perhaps; .ToChar();?

Any help is much appreciated



I have already solved this thread.