I am trying to read a file letter by letter however my various attempts do not work and continue to find only one time my letter in the file
string lettre = "T";
string[] file = File.ReadAllLines("C:/<pathto>/test7.txt");
for (int i = 0; i < file.Length;i++)
{
if (file[i].Contains(lettre))
{
Console.WriteLine("test");
}
}
I try to read the file letter by letter to generate pixels but I block on reading the file