C# Tutorial

Creating a Paint Program when Moving Mouse using C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program that paints the form when clicking and moving the mouse 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 program as Mouse Move Paint. 2. You don't have to design your interface because we will only focus on the mouse event. 3. Now put this code for your code module.

File Searcher in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will search for a file in a specific path using C#. But here, we will only search for a file in the desktop. 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 as File Searcher. 2.

Shutdown Manager in C#

Submitted by donbermoy on
In this tutorial, we will create a shutdown manager program that can log off, restart, and turn off your computer. 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. 2. Next, add three buttons named Button1 labeled as "Shutdown", Button2 labeled as "Logoff", and Button3 labeled as "Restart".

Search Item in a ListBox in C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program that searches an item inside the listbox 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 Search Item in a ListBox. 2.

Create XML File using C#

Submitted by donbermoy on
Today in C#, I’m going to teach you how to create a program that also creates an XML file using C#. We all know that XML (Extensible Markup Language) is an easy way to create common information formats and share both the format and the data on the World Wide Web or elsewhere. Now, let's start this tutorial! 1.

Determine Even or Odd Number in C#

Submitted by donbermoy on
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#

Submitted by donbermoy on
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#

Submitted by donbermoy on
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#

Submitted by donbermoy on
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.