I understand how to create a random number generator in C # that is not what I'm trying to do. What I'm trying to do is to create a program that will pull numbers from an existing list of numbers output those numbers and add it to a total.
var numbers = new List<int>();
numbers.Add(50);
numbers.Add(100);
numbers.Add(150);
For example the numbers within this list. When the person running the program inputs R it will output one of these 3 numbers, Let's say it outputs 50 the total output would be 50, then the user can run it again, and let's say it outputs 150 at that time. the total would go up to 200.