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

Articles

  • 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?
  • 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.
  • 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 asynchronously and in parallel. Difference between Task And Thread
  • 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 of response and mixed answers to a question posed by a poster. This question was, ‘What is the difference between composition and aggregation and how would I express it in my programs?’
  • 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 what we use.
  • Enum In C#

    C# Enum is a value type also known as an Enumeration. Here learn how to use Enum in C#.
  • 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%. Interfaced-based design provides loose coupling, true component-based programming, easier maintainability and it makes code reuse much more accessible because implementation is separated from the interface.
  • Performance Of Loops In C#

    In this article, we will dive deep into the performance of C# Loops.
  • 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.
  • Extension Methods in C#

    This article explains Extension Methods in C#. Extension methods enable you to add methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type.
  • View More