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


  • 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)...
  • How to Delete a File in C#

    The code example in this article shows how to delete a file in C#. Also code example of how to delete all files in a folder using C#.
  • C# Index Type

    In this article, you learn how to use the Index type in C#.
  • C# ArraySegment

    Learn how to use ArraySegment structure in C# to get a portion of an array.
  • Design Patterns in .Net

    Design patterns provide general solutions or flexible way to solve common design problems. This article provides a simple introduction regarding learning and understanding design patterns: Creation...
  • JSON Serialization And Deserialization In C#

    In this article, you will learn about JSON serialization and deserialization in C#. We can implement JSON Serialization/Deserialization by using JavaScriptSerializer class, DataContractJsonSerializ...
  • Add, Edit, Delete Operations on DataTable in C#

    Add, Edit, Delete Operations on DataTable. System.Data namespace is added before performing any operation on the DataTable.
  • 550 Authentication is required for relay with Outlook

    Configuring Email Server in Outlook. Follow the steps to resolve issue 550 Authentication is required for relay.
  • C# FileInfo Class Tutorial With Code Examples

    The FileInfo class in C# provides methods to work with files. C# Code Samples include Get file properties, check if a file exists, get file size, create a new file, create a file, read a file, copy...
  • An Overview of Delegate In C#

    In this piece of content, we will learn about delegates in C# programming. Delegate is one of the most common and the most useful concepts and every developer must have the basic knowledge of deleg...
  • Usage of doPostBack in a Real Environment

    Many atricles describes about doPostBack. But here I am trying to say some real practical ways to use it and also mentioned some precautions waant to take before use it. Believe me this article de...
  • Tuple In C# 7

    Tuple in C# 7. C# Tuple is an ordered sequence of heterogeneous objects. Tuples are lightweight data structures that contain multiple fields to represent the data members.
  • Tuple Class in C#

    This article demonstrates different scenarios of using Tuple Class in C#.
  • Testing .Net Components Using NUnit

    Write unit tests before starting development. Writing test allows me to see immediate results of every code change.
  • Sending SMS Using TheTexting SMS Gateway With C#

    Sending SMS Using TheTexting SMS Gateway With C#. Providing a quick and interesting way to send SMS using a simple C# application.
  • ref Keyword In C#

    ref Keyword In C#. We have two keywords named ref and out in C#. This article helps you decide whether to use the ref or out keyword, especially when the parameter types are value types.
  • Data Conversion In C#

    Convert function in C# is used to convert an integer to string or string to integer or another format.
  • Why Multiple Inheritance 🎯 Is Not Allowed In C# And Java?

    In this video, I have discussed a very simple explanation of why multiple-inheritance using classes is not allowed in C# and Java kind of OOP based programming languages. Though there can be other ...
  • Overview Of List Collection Class In C#

    Overview Of List Collection Class In C#. List<T> class represents a strongly typed list of objects that can be accessed by index. List<T > is one of the generic collection classes; it i...
  • Overview Of C# Attributes

    Overview Of C# Attributes. Attributes have been in C# for quite some time, and are used for adding metadata in programming elements like assemblies, types, classes, methods, and properties.
  • Out Variables In C# 7.0

    Out variables in C# 7.0. Prior to C# 7.0, the out keyword was used to pass a method argument's reference. Before a variable is passed as an out argument, it must be declared. However, unlike th...
  • Out Parameter In C# 7

    This article introduces new features of the Out parameter in C# 7.0. The Out parameter is used when a method returns multiple values.
  • Using C# Dictionary Class

    C# Dictionary class provides functionality to work with a dictionary. A dictionary is a collection of a key and value pair objects. Dictionary<TKey,TValue> in C# is a generic class and can be...
  • Local Functions In C# 7.0

    Understand and use local functions in C#. C# 7.0 adds a new feature called local functions, which allows local methods to be defined and called within a method.
  • Literal Improvements In C# 7.0

    Literal improvements in C# 7.0. C# 7.0 introduced two literal improvements, a digit separator and a hex literal.
  • View More