Category: Tutorials

Exception Handling in C#

An exception usually signals an error. Thought it doesn’t always indicate an eror, it can also signal some particularly unusual even in your program that deserves special attention. Exception & Errors Handling No mater...

Read More

From C to C++ – What’s new?

As we begin the study of C++ and object oriented programming, a few comments are in order to help you get started. Since the field of object oriented programming is probably new to you, you will find that there is a significant amount of new terminology for you to grasp. This is true of any new endeavor and you should be warned not to be intimidated by all of the new concepts.

Read More

Statements in C#

The real nuts and bolts of a programming languages is that which controls the flow of a program called statements. Types of Statements in C# C# borrows most of its statements directly from C and C++, though there are some...

Read More

Polymorphism

In OOP terms, polymorphism represents the ability to resolve a reference to an object’s method at run time. Specifically, different objects could make a call to a Draw or Print method, and these methods would act differently with each object; the process can take different forms behind a common interface. One of the benefits of polymorphism is that because the interface is common to objects, any object is able to respond differently to some common set of tasks, and objects are independent of each other.

Read More

Application Structure

Let’s begin by looking at the structure of a C# application. Every C# application contains certain elements. The application begins with the hierarchical levels, listed here in order of appearance. Namespace Class Method...

Read More