-3
Instead of displaying text line by line display the entire text. Visual Studio Community 2017.
Stream entrada = File.Open(varexe + "\\Score.txt", FileMode.Open);
StreamReader leitor = new StreamReader(entrada);
string linha = leitor.ReadLine();
while (linha != null)
{
MessageBox.Show(linha);
linha = leitor.ReadLine();
}
leitor.Close();
entrada.Close();
Kind of confusing. But if I understood correctly, pq not concatenate into a variable in the loop and shows only at the end?
– fnightangel
@Malystersnur managed to solve his problem?
– Leandro Angelo