static void Main(string[] args) { int[] ints = new int[] { 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150 }; Example e = new Example(); e.AddRange(ints); e.Start(); int k = 0; while (true) { int input = int.Parse(Console.ReadLine()); e.Add(input); } }