using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace externalMethods
public int sumTotal { get; set; }
public int[] arrInput { get; set; }
public void showGreeting()
int[] input = new int[5];
Console.WriteLine("Please enter five numbers, one at a time:");
for(int i = 0; i<=4; i++)
Console.Write(i + 1 + ": ");
input[i] = Int16.Parse(Console.ReadLine());
public void mathCalc(int[] input){
int upper = input.Length;
for(int i = 0; i < upper; i++)
public void showResponse()
Collection<int> numbers = new Collection<int>();
Random rnd = new Random(100);
for (int i = 0; i < 10; i++)
numbers.Add((int)(rnd.NextDouble() * 100));
foreach (Object number in numbers)
Console.WriteLine(number);
public static void Main (string[] args)
secondClass sc = new secondClass();