C# Tutorial

Date Calculator using C#

Submitted by donbermoy on
This is a simple tutorial in which we will create a simple Date Calculator program made in C#. On this, it will help you know the dates before and after the present date. For instance, you want to jump into seven days after the present date, the date calculator will automatically calculate it. And you don’t have to count the days anymore, so the user will benefit this kind of program. So, now let's start this tutorial! 1.

Animated Text in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program than can have an animated text. With this, you don’t need to drag any Label in the Form. It is because, the codes will be the one to make a text that will be appear in the Form by using the C# 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 2010: Go to File, click New Project, and choose Windows Application. 2.

Compute Exponential Number using C#

Submitted by donbermoy on
In this article, i will introduce again some function in C# regarding the Math Functions, this is Math.Pow(). Math.Pow() Function in C# computes a number that has an exponent.It returns a specified number raised to the specified power. 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.

Compute Square Root using Math.Sqrt in C#

Submitted by donbermoy on
In this tutorial, i will introduce another function in C# regarding the Math Functions, the Math.Sqrt(). Math.Sqrt() function provides to compute the square root of a number. 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 two TextBoxes named TextBox1 and TextBox2 then leave it as blank.

Creating an Excel Application in C#

Submitted by donbermoy on
This is a tutorial wherein we will going to create a program that creates an excel application using C#. This tutorial uses Microsoft.Office.Interop.Excel in our Windows Form Application. 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, and choose Windows Form Application. 2. Insert a Button control named Button1 in the form.

Textbox Validation using Error Provider in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will validate an inputted textbox using ErrorProvider. In this tutorial, you will know what are the inputs you are going to put in the textbox and it will notify you whatever errors that you might encounter. 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 2010: Go to File, click New Project, and choose Windows Application. 2.

Show Full Screen Mode in C#

Submitted by donbermoy on
Sometimes, because of exploring complicated codes we often forget the basics and the need of some functions. Take note that in C# there is no property such as show full screen, it is only maximizing the windowsstyle. In this tutorial, i will teach you how to create a program that can view full screen of your interface. Now, let's start this tutorial! 1.

CPU and RAM Meter in C#

Submitted by donbermoy on
This is a simple tutorial that will have a simple CPU and RAM meter by using C#. With this, you will be able to know the usage of your RAM and CPU. And it also calculates the percentage of its performance usage. 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 2010: Go to File, click New Project, and choose Windows Application. 2. Add two PerformanceCounters, “pcCPU” and the other one is “pcRAM”.

Get Local Time by Zip Code using C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will get the local time if we input the country's zip code 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 2010: Go to File, click New Project, and choose Windows Application. 2. Add 2 textbox named txtzipcode by inputting zip code and txtlocaltime to display the equivalent local time. Then insert one button named Button1.

Get Links and the Number of Links of a Website in C#

Submitted by donbermoy on
This is a simple tutorial on getting the links and the number of links of a website. With a link, users can navigate to another page, window, or Help topic; display a definition; initiate a command; or choose an option. A link is text or a graphic that indicates that it can be clicked, typically by being displayed using the visited or unvisited link system colors, examples are hyperlinks. 1.