csharp

Determine Even or Odd Number in C#

In this tutorial, I'm going to teach you how to create a program that determines if the inputted number is an odd or an even number using C#. This was one of the laboratory exercises in C# for students enrolled in this subject. Even Numbers are any integer that can be divided exactly by 2. The last digit will be 0, 2, 4, 6 or 8. If it is not an even number, it is called an odd number. The last digit will be 1, 3, 5, 7 or 9. Now, let's start this tutorial! 1.

Label Effect: Auto Typing Application in C#

Today in C#, I will teach you how to create a program that will have an Auto Typing Application using the Label control. 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 Label Typing Effect. 2.

Get the Pressed Key using C#

In this tutorial, i will teach you how to create a program that will capture, obtain, or get a key pressed by the user. 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 Get the Pressed Key. We don't need to design an interface because we have to get only the pressed key by the user. 2.

Get and Display List of Available Printers using C#

Today in C#, i will going to teach you how to create a program that gets and displays the list of available printers. 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 Get Printers. 2.

Get and Display all COM Ports using C#

Today in C#, i will going to teach you how to create a program that will get all Computer ports and display it in a ListView using C#. We all know that COM Ports are serial communications port on a PC. 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 as Get all Computer Ports. 2.

How to Compute Date Difference in C#

Today in C#, i will teach you how to create a program that finds and calculates the difference between two dates using C#. So, now let's start this Date Difference tutorial in C#! 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 Date Difference. 2.