csharp

Change Background Color using ColorDialog in C#

Today in C#, I will teach you how to create a program that changes background color using ColorDialog in C#. Now, let's start this Color Dialog 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 only one Button named Button1 and labeled it as "Change Background Color".

Count Number of Characters using C#

Today in C# tutorial, i will teach you how to create a program that counts the number of characters using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Count Number of Characters. 2. Next, add only one Button named Button1 and labeled it as "Count Characters".

Validate Date using C#

In this tutorial, i will teach you how to create a program that validates an inputted date using C#, thus this will determine if a date is invalid or not. Here, we will use the IsDate Function. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Valid or Invalid Date. 2.

URL Validation using C#

Today, i will teach you how to create a program that will validate a URL inputted using C#. We know that a URL is the address of a specific Web site or file on the Internet. It cannot have spaces or certain other characters and uses forward slashes to denote different directories. Some examples of URLs are http://www.sourcecodester.com/, http://google.com/, etc. Now, let's start this validating a URL tutorial! 1.

Age Calculator Using C#

In this tutorial, we will going to create a program that can calculate your age using C# as the programming language. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Calculate age. 2. Next, add one DateTimePicker named DateTimePicker1 to have input of our dates.

CD/DVDROM Eject using C#

This is a tutorial in which we will going to create a program that will eject the CDROM or DVDROM using C# only. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name the project CD eject. 2. Right Click ToolBox, click Choose Items, in the Com Components Tab, check "Windows Media Player" and then click Ok. 3.

Get IP Address of a Website using C#

In this tutorial, i will teach you how to create a program that gets an IP address of a website using C#. When a user inputs the link of a particular website, then the program determines its ip address. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your program IP Address of a Host. 2.

Count Number of Words using C#

This is a tutorial in which we will going to create a program that will count the number of words that we have inputted using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Word Count Program. 2.