https://www.acmicpc.net/problem/10950
using System;
namespace baekjoon
{
class Program
{
static void Main(string[] args)
{
string strTestCase = Console.ReadLine();
int nTestCase = int.Parse(strTestCase);
int[] nArray = new int[nTestCase];
for (int i = 0; i < nTestCase; i++)
{
string strInput = Console.ReadLine(); // "1 1"
string[] strNum = strInput.Split(' '); // {"1", "1"}
int nNumA = int.Parse(strNum[0].ToString()); // 1
int nNumB = int.Parse(strNum[1].ToString()); // 1
nArray[i] = nNumA + nNumB;
}
for (int i = 0; i < nTestCase; i++)
{
Console.WriteLine(nArray[i]);
}
}
}
}