C# is a multi-paradigm programming language. This section contains C# related articles and syntaxes.


  • C# Interview Questions

    Top C# interview questions and answers. What is C#? What is the difference between classes and objects? What is an enum type? What is the difference between a class and a struct?
  • Plugin Architecture With Reflection

    There was a time when I needed to create a configuration application on plugin architecture using reflection. It was a good experience that I want to share with you.
  • Validating User Input With Regular Expressions

    This article explains how to use Regular Expressions (the Regex class of the System.Text.RegularExpressions namespace) in C# and .NET.
  • Simple Calculator Console App Using C#

    In this blog, you will learn how to create a simple calculator Console app using C# language.
  • Overview Of Singleton Pattern

    Singleton pattern ensures that a class has only one instance, and provides a global point of access to it.
  • Sort Array In C# Without Using Inbuilt Function

    In this blog, we will learn to sort an array in C# without using an inbuilt C# function. We will learn ascending order and descending order an array with a simple example.
  • What are sealed classes and sealed methods

    In this article, I will try to explain sealed classes and sealed methods in C# language.
  • Multiple Inheritance in C#

    Can you inherit from multiple classes in C#? Simply put, this cannot be done. However there are ways around it. From a design perspective you must ask yourself, will a Class fully represent an object?
  • Export DataGridView Data to Excel in C# Without Saving to File System

    In this article, we will learn how to Export DataGridView data to Excel in C# without saving to Local File System.
  • Image Compressor Using Windows Forms With C#

    In this article, I have explained how to compress images by reducing the quality of images using C#.
  • Task And Thread In C#

    The Thread class is used for creating and executing threads in C#. A Task represents some asynchronous operation and is part of the Task Parallel Library, a set of APIs for running tasks asynchronousl
  • Difference between Composition and Aggregation

    Apart from programming, a lot of my spare time sat at the computer is spent reading group, blog postings, etc from other developers. One particular posting that caught my eye recently provoked a lot o
  • Speech Recognition using C#

    This article provides information about how to implement Speech Recognition capabilities in C# and Speech SDK 5.1.
  • Using Linked List in C#

    What we going to make is a linked list. Yeah I know there is a class which does the same as a linked list called ArrayList, but we (as a diehard C# programmer) want absolute control and knowledge of w
  • Enum In C#

    C# Enum is a value type also known as an Enumeration. Here learn how to use Enum in C#.
  • How to use int.TryParse

    Learn how to use the int.TryParse in C#. C# TryParse code example.
  • Working With HashSet In C#

    The C# HashSet<T> class provides high-performance set operations. Here learn how to use HashSet in C#.
  • ArrayList in C#

    C# ArrayList is a collection class. Here learn how to use an ArrayList in C#.
  • Delegates and Events In C# .NET

    In this tutorial and code example, you'll learn how to work with Delegates In C# .NET.
  • Events In C#

    Events in C# are an integral part of programming. This tutorial explains how to implement events in C# and .NET.
  • Querying a Data Table Using Select Method and Lambda Expressions in C#

    In this article, we are explaining how we can perform several queries on a DataTable object using the select method and Lambda expression.
  • C# Interface Based Development

    When trying to build maintainable, reusable, and flexible C# code, the object oriented nature of C# only gets us 50% of the way there. Programming to interfaces can provide us with the last 50%. Inte
  • Performance Of Loops In C#

    In this article, we will dive deep into the performance of C# Loops.
  • Get All Installed SQL Server Instances On Local Machine Using C#

    In this blog, I have explained how to list the installed instances of SQL Server on machine and LAN Network using C#.
  • Consume Any Web API From Within Your C# Applications Using AKSoftware.WebApi Library

    In this article, we will learn the trick of calling any web API from our C# based applications with just a few lines of code.
  • View More