phone number

Validate Phone Number using C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will validate an inputted phone number using C#. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add one TextBox named TextBox1 which will be used to input the phone number.

Valid or Invalid Phone Number in VB.NET

Submitted by donbermoy on
Hi! This is my another tutorial in VB.NET entitled "Validating a Phone Number". We will just validate a phone number by using the System.Text.RegularExpressions namespace. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add one TextBox named TextBox1 which will be used to input the phone number.