Доделано 7 требование
This commit is contained in:
parent
d1bc83d547
commit
fc62891cfc
@ -113,7 +113,7 @@ namespace AirplaneWithRadar
|
|||||||
{
|
{
|
||||||
if (!File.Exists(filename))
|
if (!File.Exists(filename))
|
||||||
{
|
{
|
||||||
throw new Exception("Файл не найден");
|
throw new FileNotFoundException("Файл не найден");
|
||||||
}
|
}
|
||||||
using (StreamReader fs = new(filename))
|
using (StreamReader fs = new(filename))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user