public static void CreateFile(string path) { using var fileInf1 = File.Create(path); Success?.Invoke($"{fileInf1.Name} создан!"); }