switch, case, break

switch (textBox1.Text) {

                case "fuker":
                    MessageBox.Show("fukc man!");
                    break;

                case "2":
                    MessageBox.Show("fukc man!");
                    break;

                default:
                    MessageBox.Show("Not a valid user!");
                    break;
            }

Syntax

Comments

Popular posts from this blog

&& and || in C# application

My Google service terms and conditions