C# Tutorial

How to Encrypt a File in C#

Submitted by donbermoy on
In this tutorial, I will teach you how to encrypt a file using C#. This is different in encrypting just only a textbox, but here we will encrypt the content of a file. 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 Encrypt and Decrypt. 2.

Printer settings: Display the list of valid paper sizes

Submitted by donbermoy on
This tutorial will teach you on how to get and display the list of valid paper sizes of the printer. I already have this tutorial on how to display the list of printers installed in the 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 and name your project as Printer Settings. 2.

Marquee Text with NumericUpDown Control in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that has the marquee text functionality and has a NumericUpDown control to control the speed of the marquee text. We all know that in HTML, a marquee is a small section of the browser window that displays text that rolls across the screen. You use the MARQUEE element to create scrolling section. Now, let's start this tutorial! 1.

Rock-Paper Scissor Game in C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a game program called Rock-Paper Scissor Game in C#. A rock-paper-scissor game is one of the most popular kiddie games here in Philippines. It is a simple game played around the world with many names and variations. It's a good way to decide whose turn it is to do something, and it's also played competitively. And today we will make this game and compete with a computer player. Now, let's start this tutorial! 1.

Reorder Items in ListBox using C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that reorder items in 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. 2.

Random Number Generator in C#

Submitted by donbermoy on
Some of the systems and applications today are using a Random Number Generator to generate random id number which will be used for their id in the database or let's just say an application by guessing a number. So in this tutorial, I will teach you how to create a program that generates a random number using C#. So, now let's start making this program! 1.

Text Scrolling Up Effect using C#

Submitted by donbermoy on
In this tutorial, I will teach you how to create a program that has an effect of scrolling up the text. 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 and name your project as Text Scroll Up Effect. 2. Next, add only one Label named Label1 and labeled it as any text.