79305817

Date: 2024-12-24 14:31:35
Score: 1
Natty:
Report link
StreamReader sw = new StreamReader(fs);
while (sw.EndOfStream != true)
{
    yazi += sw.ReadLine();
}

StreamReader.EndOfStream This is the most correct usage. Because when the lines are finished reading it returns true. At the beginning it returns false

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Uğur TEZGÖR