private static void Main() { FindAndReplaceManager.FindNext("Hello"); //Вызов статического метода FindNext // Delay. Console.ReadKey(); }
static void Main() { FindAndReplaceManager.FindNext("Hello"); // Delay. Console.ReadKey(); }
static void Main(string[] args) { string path = @"C:\Users\user\Downloads\ISTQB\test.txt"; string partOfText = string.Empty; Console.WriteLine("Put the word which you want to find"); partOfText = Console.ReadLine(); FindAndReplaceManager.FindNext(path, partOfText); Console.ReadLine(); }