using System.Collections;
using System.Collections.Generic;
public static void Main()
Console.WriteLine("Please enter a range?");
string range = Console.ReadLine();
string first = range.Split(',')[0];
string last = range.Split(',')[1];
int min = Int32.Parse(first);
int max = Int32.Parse(last);
ArrayList arraylist = new ArrayList();
Console.WriteLine("Heres the Output");
for (int i = min; i < max ; i++ )
arraylist.Add("HelloWorld");
foreach (var item in arraylist)
Console.WriteLine(item.ToString());
Console.WriteLine("Heres the Summary");
Dictionary<string, int> counts = new Dictionary<string, int>() {
foreach (var item in arraylist)
counts["HelloWorld"] += 1;
foreach (KeyValuePair<string, int> item in counts)
Console.WriteLine(item.Key.ToString() + ":" + item.Value.ToString());