diff --git a/Lesson_5/Task_1/Interfaces/ICopyDirectory.cs b/Lesson_5/Task_1/Interfaces/ICopyDirectory.cs index 81d7c3b..bb31be9 100644 --- a/Lesson_5/Task_1/Interfaces/ICopyDirectory.cs +++ b/Lesson_5/Task_1/Interfaces/ICopyDirectory.cs @@ -2,5 +2,5 @@ namespace Lesson5.Interfaces; public interface ICopyDirectory { - public static abstract void Copy(string sourceDir, string destinationDir, bool recursive); + static void Copy(string sourceDir, string destinationDir, bool recursive) => throw new NotImplementedException(); } diff --git a/Lesson_5/Task_1/Interfaces/IFileInfoOperation.cs b/Lesson_5/Task_1/Interfaces/IFileInfoOperation.cs index cf799e8..32fdae8 100644 --- a/Lesson_5/Task_1/Interfaces/IFileInfoOperation.cs +++ b/Lesson_5/Task_1/Interfaces/IFileInfoOperation.cs @@ -2,5 +2,5 @@ namespace Lesson5.Interfaces; public interface IFileInfoOperation { - public static abstract void GetFileInfo(string path); + static void GetFileInfo(string path) => throw new NotImplementedException(); } diff --git a/Lesson_5/Task_1/Interfaces/IReadFile.cs b/Lesson_5/Task_1/Interfaces/IReadFile.cs index fdd429f..f4efa57 100644 --- a/Lesson_5/Task_1/Interfaces/IReadFile.cs +++ b/Lesson_5/Task_1/Interfaces/IReadFile.cs @@ -2,5 +2,5 @@ namespace Lesson5.Interfaces; public interface IReadFile { - public static abstract void ReadByPath(string path); + static void ReadByPath(string path) => throw new NotImplementedException(); } diff --git a/Lesson_5/Task_1/Interfaces/IUserInput.cs b/Lesson_5/Task_1/Interfaces/IUserInput.cs index 10e579a..622883b 100644 --- a/Lesson_5/Task_1/Interfaces/IUserInput.cs +++ b/Lesson_5/Task_1/Interfaces/IUserInput.cs @@ -2,5 +2,5 @@ namespace Lesson5.Interfaces; public interface IUserInput { - public static abstract string AskStringInput(string prompt); + static string AskStringInput(string prompt) => throw new NotImplementedException(); } diff --git a/Lesson_5/Task_1/Interfaces/IWorkWithFileSystem.cs b/Lesson_5/Task_1/Interfaces/IWorkWithFileSystem.cs index c09cbaa..30a0bf9 100644 --- a/Lesson_5/Task_1/Interfaces/IWorkWithFileSystem.cs +++ b/Lesson_5/Task_1/Interfaces/IWorkWithFileSystem.cs @@ -2,6 +2,6 @@ namespace Lesson5.Interfaces; public interface IWorkWithFileSystem { - public static abstract void GetDirectoryFiles(string path); - public static abstract string Cd(string name, string current); + static void GetDirectoryFiles(string path) => throw new NotImplementedException(); + static string Cd(string name, string current) => throw new NotImplementedException(); } diff --git a/Lesson_5/Task_1/Task_1.csproj b/Lesson_5/Task_1/Task_1.csproj index f02677b..74abf5c 100644 --- a/Lesson_5/Task_1/Task_1.csproj +++ b/Lesson_5/Task_1/Task_1.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net6.0 enable enable