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<T> where T : DrawingWarship { if (!File.Exists(filename)) { - throw new FileNotFoundException("Файл не существует"); + throw new System.IO.FileNotFoundException("Файл не существует"); } using (StreamReader sr = new StreamReader(filename))