Using visual studio (C#) create a program, name itPRGYOURNAMEFA1, that implements a search and replace function recursively. Your program should allow a user to enter a string ,a substring to be replaced in the entered string and acharacter/s to replacethe found substringProgram Structure1. A main class that implements the logic of the program – name this classTestSearchReplace2. Add a class namedSearchReplace to the main class with two methods, including:a.SearchSubstring()- return methodb.ReplaceSubString() - void method
The two method should be called using an object in the main class.DONT CREATE THE TWO METHODS IN THE MAIN CLASSSample Output
Extracted text: 1 Please enter a string: Hello world 2 Please enter the substring you wish to find: 1lo 3 Please enter a string to replace the given substring: 0 4. Your new string is: he@@ world
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here