lab_6 #6

Closed
chtzsch wants to merge 4 commits from lab_6 into lab_5
Showing only changes of commit 1f7f3bdc1d - Show all commits

View File

@ -102,7 +102,7 @@ namespace speed_Boat.Generics
using (StreamReader sr = new(filename))
{
string str = sr.ReadLine();
var strs = bufferTextFromFile.Split(new char[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries);
var strs = str.Split(new char[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries);
if (strs == null || strs.Length == 0)
{
return false;