Problem: Hi there! I am working with a textbox in C# and I want to define multiple restrictions on this textbox through if statement. If I use nested ifs, my program becomes bulky. I want to keep my program as compact as possible. Attaching my code below. Please guide how I ... is " + Convert.ToInt32(nameTextBox.Text); } } I want to check if the text in the textbox is a number from 1 – 10.