/NumberSubstringFinder

C# console application scans a user-provided string for duplicate numbers and calculates the sum of all numbers found in between the duplicates. The program also checks for the presence of non-numeric characters within the range of the duplicates.

Primary LanguageC#

This C# console application scans a user-provided string for duplicate numbers and calculates the sum of all numbers found in between the duplicates. The program also checks for the presence of non-numeric characters within the range of the duplicates. If no non-numeric characters are found, it prints the range of numbers in green and adds their sum to the total sum.

Technologies Used:

  1. C#

Usage:

  1. Clone and Run the program.
  2. Enter a string containing numbers and other characters.
  3. View the sum of numbers and the highlighted ranges of duplicate numbers (if applicable).