[Solved] Problems With List [closed]


I’m not exactly sure what you are trying to accomplish…maybe this?

        StreamReader reader = new StreamReader("C:/tut.txt");
        String data = reader.ReadLine();

        List<String> tok = new List<string>();

        foreach (char s in data)
        {
            Console.WriteLine(s);
            tok.Add(s.ToString());
        }

1

solved Problems With List [closed]