The easiest way would probably be:
var numbersText = yourTextBox2.Text;
var allNumbersAddedUp = numbersText.Split(' ').Select(int.Parse).Sum();
Don't forget
using System.Linq;
This is independent of what the user enters in the first textbox.
As this seems to be a textbook homework, please do your own homework, read your textbooks and learn this by yourself instead of using ready-made solutions from the internet. One day I will have to work with you and I want to work with people who learned this instead of copied it from somewhere on the internet.