C# TextBox Control

In this lesson, you will learn about essential control in the WinForms application world, which is the TextBox Control. Introduction to TextBox Control in C# A TextBox is widely used in Windows Application, mainly to get or set data from/to a data source. Just like other controls, a TextBox has its properties and events. this... » read more

C# Button Control

In this lesson, you will learn about the Button Control from the toolbox and its most used properties and events. Introduction to Button Control in C# In C# WinForms applications, a button is widely used to perform actions, such as save, search, cancel, and more. Literally you cannot see a Window Form that does not... » read more

C# Label Control

In this lesson, we will go thought the Label Control and some of its important properties and event. Introduction to C# Label Control the Label Control is probably the most used control in a WinForms Applications. It’s used to have a text in it, to label something. Add a label to your Form To add... » read more

Introduction to C# GUI

Desktop Applications were among the first forms of computer software in their early days. Most of the software at that time were developed to function on a client machine. In the early 90′, the web was born and took the world by a storm. However, desktop applications still have a large portion of the development... » read more

C# Enum

In this lesson, you will learn about enum in C# with examples, and when to use them. C# Enum Enum or Enumeration is a set of integer constants that are used to assign name or string value. An example of is the days of the week, where the name can be ‘Days’, and the enumerators... » read more

C# Struct

In this lesson, we will explain the use of structs in C#, when to use them, and the different between structs and classes. C# Struct Structure or struct is a value type that can contains variables, functions, methods, constructors, indexers, operators, event, and properties. Structs can implement interface, however they cannot inherit from other struct... » read more

C# Visibility

In this lesson, you will learn about the different types of visibility and access modifiers in C# and how/when to use them. C# Visibility Visibility or access modifier allows us to define the way a class, method, variable, or a property is seen and accessed. Encapsulation is one of the uses of a private modifier,... » read more

C# Polymorphism

In Object oriented programming, polymorphism is a concept that allow us to defined a function in a based class and override it in the child class. Also, it allows us to have multiple function with the same name, but different implementation. 

C# Static Members

In this class, we will explain the static member, and how to use it in classes, variable, methods, and other members. C# Static Members In C#, static keyword can be used with classes, variables, properties, operators, methods, event and constructors. For classes, the static keywords will make it non-instantiable, meaning the class can’t have an... » read more

C# Interface

In this lesson, you will learn about interface in C# with example. Also, you will learn the difference between abstract class and interface. Definition of Interface Interfaces are objects in C# that looks as same as a class, but with no implementations. In other words, the interface contains a declaration or signature of methods, events,... » read more

C# Abstract Class

In this lesson, you will learn about abstract classes with example. Also, you will learn when to use abstract classes in your program.  Definition of abstract class In c#, abstract class are mostly used to define base class. As discussed previously in the inheritance lesson, we learned that a base class is to top class... » read more

C# Inheritance

In this lesson, you will learn about one of the most important concepts in object-oriented programming, which is inheritance. You will learn how to create a based class and derive class, and how implement multi inheritance and sealed class in C#. What is inheritance in C#? Inheritance is an object-oriented programming concept that allows programmers... » read more

Objects and Classes in C#

In this lesson, you will learn how to create classes and their properties, methods, events. Also, you will learn how to set up the access level for a class and its members, as well as learning other object-oriented concept, such as Encapsulation, constructors, and destructors. What is a class in C#? In object-oriented programming, a... » read more

C# Methods

In this article, you will learn about how to create a method in C# and call it. Also, you will learn about various type of passing parameter to a method, and much more. Method in C# A method (or function) is a block of code that can be declare inside a class.  Methods are useful... » read more

C# Do while loop

In this lesson, we will learn about the do while loop and its importance in C#. Examples with explanation will be provided to better understand this topic. ‘do while’ loop in C# The do-while loop is another type of loop in C#. It’s similar to the while loop, however the block of code will be... » read more