I am trying to check if a string contains a numeric value, if it doesnt return to a label if it does then I would like to show the main window. How can this be done?
If (mystring = a numeric value)
//do this:
var newWindow = new MainWindow();
newWindow.Show();
If (mystring = non numeric)
//display mystring in a label
label1.Text = mystring;
else return error to message box