A button is the most common graphical control in any programming languages. It is a control the user can click to provide input to an application. In this simple tutorial, we will learn how to open a messagebox when a…
C#
tutorials, lessons, articles and source codes on C# programming language
Simple Calculator Program in C#
Problem: Create a gui (graphical user interface) program in c# that will allow the user to enter two numbers and choose what operation to use (addition, subtraction, division or multiplication), the program will then perform the operation selected by the…
If Else If Statement in C#
Problem: Create a program in C# that utilizes if else if statement. Tutorial Description: We will create a simple program in c# that will allow the user to enter its grade in the textbox. The user will then click the…
How to Concatenate String in C#
Problem: Create a C# program that will allow the user to enter two strings and then the program will combine those strings to form a new one. Solution: We will use the plus sign (+) to combine two strings to…
C# Hello World Program in Different Styles
Problem: Write a program in c# that will display Hello World in a form of a message box, in a caption or text of the button, label and even in the text or caption of the another form. Solution: We…
Introduction to C#
Getting Started with C# C# (pronounced as C Sharp) is one of the programming language developed by Microsoft that is implemented in .Net Framework so therefore you must install the .Net Framework on your unit to run the applications written…