I've literally just started looking at c# like an hour ago and i thought i would try and make a calculator i have one problem and this is the only problem.
I have a way of getting the value of the first value being entered but have no other way to figure out the second value without it showing the entire string being entered.
private void buttonEQ_Click(object sender, EventArgs e)
{
string valueTWO;
valueTWO = textBox1.Text;
Console.WriteLine(valueTWO);
}
So whatever the person enters it will just log it out say 100-50 for example how do i programmatically tell the program to 'get everything after the -' if possible which im sure it is.