public static class MathGame {
public static void Main() {
Random RNDM = new Random();
for (int i = 0; i == 0; i += 0){
Console.WriteLine("What is " + A + " + " + B + "?");
String Answer = Console.ReadLine();
if (IsNumeric(Answer) && Convert.ToInt16(Answer) == C) {
Console.WriteLine("Wow good job, you know that " + A + " + " + B + " = " + C);
Console.WriteLine("Wrong, " + A + " + " + B + " = " + C);
public static bool IsNumeric(this string s) {
if (!char.IsDigit(c) && c != '.') {