C# console program used to find all instances of the specified search pattern.