Category: C# Programming Tutorials

How to Read and Write Excel Files in C#

This tutorial shows you how to Read and Write Excel files in C#. We are going to use Microsoft COM Objects i.e. Excel 16 object in our application. Use the following sample C# source codes for Excel reading and writing. There are multiple examples discussed in this tutorial to read Excel files using C# and write data back to Excel file.

Read More

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

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

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

An Overview of C#

C# is a new programming language specifically designed for Microsoft .NET Framework. C# is significant in two respects. It is specifically designed for use with Microsoft’s .NET Framework. It is based on modern Object...

Read More