Пример #1
0
            private static void Main()
            {
                FindAndReplaceManager.FindNext("Hello"); //Вызов статического метода FindNext

                // Delay.
                Console.ReadKey();
            }
Пример #2
0
        static void Main()
        {
            FindAndReplaceManager.FindNext("Hello");

            // Delay.
            Console.ReadKey();
        }
Пример #3
0
        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();
        }