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


  • C# 8.0 New Feature - Ranges And Indices

    In this article, we are going to learn the new features of C# 8.0, Ranges and Indices. This introduces new operators and new types - System.Index and System.Range.
  • How To Use Output Parameter In Stored Procedure In C#

    In this article, we will learn how to execute stored procedures with output parameters in C# code.
  • C# Coding Standards 😎

    In this article, we’ll learn how we can optimize lines of code, which we should follow to write better, more clear code
  • Encryption And Decryption Using A Symmetric Key In C#

    In this article, we are going to learn how to use the symmetric key for encrypting and decrypting data in C#.
  • Working With Value Tuple In C# 7.0

    ValueTuple was introduced in C# 7.0. In this article, you will learn how to use a ValueTuple in C#.
  • C# ValueTuple Code Example

    Tuples is one of the important features of C#. A tuple is a data structure that contains a sequence of elements of different data types.
  • Tuples In C#

    C# tuples provide an easy way to return multiple values. In this article, you will learn what tuples are and how to use tuples in C#.
  • Reverse a Number and String in C#

    In this blog, we will learn how to reverse a number in C#. Code also shows how to reverse a string in C#.
  • SOLID Principles In C#

    Here I am going to explain the SOLID principles in C#: Single Responsibility Principle (SRP), Open Closed Principle (OSP), Liskov Substitution Principle (LSP), Interface Segregation Principle (ISP), a
  • C# 8.0 New Feature Switch Expressions

    In this article, we are going to learn what Switch Expressions are in C# and how to use switch expressions in C# 8.
  • Download Files In ZIP Format In MVC.NET

    In this article, we will see how to download files in Zip format in MVC.NET.
  • What Does “var” Mean In C#?

    The “var” keyword is used to declare a var type variable in C#. In this article, you will learn how to use a var in C#.
  • Swap Two Variables Without Using a Third Variable in C#

    This code sample shows how we can swap two integers without using a third integer.
  • ArrayList in C#

    This article discusses how to use the ArrayList class in C#. When you have multiple types set then you can use an ArrayList. ArrayList is one of the most flexible data structures from C# Collections.
  • C# ArrayList

    In this article, I will explain the ArrayList class and how to use it in C#. In this article, we will see how to create an ArrayList, add elements in ArrayList, ArrayList properties, get number of ele
  • Multiple Document Interface (MDI) With RichTextBox

    After searching for a long time on the internet, I have read and consolidated knowledge from different websites into one place and created an original MDI application. I hope this will be useful for a
  • Code Examples of C# Static

    This blog shows how to use the static keyword in C#. The static keyword is used to create static classes and static members in C#.
  • Calculator Calculation With A Single Line Of Code In C#

    In this blog, we will learn how to make calculations without creating a calculator like function.
  • Enumerators in C#

    Sample example shows how to use enumerators in C#. Learn how to use GetEnumerator, IEnumerator, Ienumerable interface.
  • C# .NET Delegates and Events

    In this article, you will learn how to create and manipulate delegate types as well as C# events which streamline the process of working with delegate types.
  • Using Abstract Class In C#

    In this article we learn about abstract classes in C# using a console appication example
  • Generic Types in C# 2.0 with Sample

    This article discusses generic types available in C# 2.0. The article also shows some sample source code on how to use generic types.
  • Static Class In C#

    C# static keyword is used to create a static class. A static class in C# is a class that cannot be instantiated. A static class can only contain static data members including static methods, static co
  • The "this" Keyword in C#

    The "this" keyword in C# is a reference to a class or a struct itself. In this article, you'll learn what the C# "this" keyword is, and how and when to use the "this"
  • Export Excel File In MVC.NET

    In this article, we are learning how to export an Excel file in MVC.NET.