From ead2dcee19ebcbe157c602cc5084f291657e7c24 Mon Sep 17 00:00:00 2001 From: safia Date: Wed, 22 May 2024 04:51:46 +0300 Subject: [PATCH] LabWork08 --- .../CollectionGenericObjects/StorageCollection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectBattleship/ProjectBattleship/CollectionGenericObjects/StorageCollection.cs b/ProjectBattleship/ProjectBattleship/CollectionGenericObjects/StorageCollection.cs index 6c2b498..911b109 100644 --- a/ProjectBattleship/ProjectBattleship/CollectionGenericObjects/StorageCollection.cs +++ b/ProjectBattleship/ProjectBattleship/CollectionGenericObjects/StorageCollection.cs @@ -147,7 +147,7 @@ public class StorageCollection where T : DrawingWarship { if (!File.Exists(filename)) { - throw new FileNotFoundException("Файл не существует"); + throw new System.IO.FileNotFoundException("Файл не существует"); } using (StreamReader sr = new StreamReader(filename))