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

RECENT POSTS

  • C#: Better way to handle null values

    In this article, we will discuss a better way to handle null values in C#.
  • 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
  • C# 8.0 Enhanced Using Declaration

    In this blog, you will learn about C# 8.0 Enhanced Using Declaration.
  • C# 8.0 Static Local Functions

    In this article, you will learn about C# 8.0 Static Local Functions.
  • C# Performance Of Code - For Loop VS Foreach Loop

    In this article, you will learn about the performance of the C# code while using for loop versus while using foreach loop.
  • C# MongoDB Repository Implementation

    In this article, you will learn about C# MongoDB Repository Implementation.
  • Export DataGridView Data To PDF In C#

    In this blog, we will learn how to export DataGridView data to pdf using C# code.
  • Export DataGridView Data To CSV In C#

    In this blog, we will learn how to export DataGridView data to CSV using C# code.
  • Common Code Smell Mistakes In C#, Part One

    Code smell is a word given to indicate a deeper problem in our programming code. Here, we will discuss about some of the code smell vulnerabilities that developers commonly face but don't recogniz
  • Working With FTP Using C#

    File Transfer Protocol (FTP) is a network protocol for file transfer. Learn building a C# FTP app in ASP.NET using the FTP protocol.
  • Reverse C# String using Recursive function

    In this blog, we will learn to reverse a string using a recursive function in C#.
  • C# If Else Statement

    C# is a modern programming language and supports common selection statements including the if..else statement. The code example in this article shows how to use an if..else statement in C#.
  • C# SortedList Tutorial

    C# SortedList is a generic collection that stores key/value objects. This tutorial explains how to create a SortedList object and use SortedList in C#. Includes C# SortedList code examples.
  • HashSet In C#

    C# HashSet is a collection of unique elements. The .NET HashSet<T> class represents a hash set in C# and provides methods to add, remove, and find items, find subset, superset, union, and inters
  • Checking If A String Is Palindrome Or Not In C#

    In this blog, we will learn to check whether the given string is a palindrome or not, using a C# code.
  • C# - Get DateTime for Current Day, Previous Day, Month End, Quarter End, Year End

    Code example to get DateTime value for today, previous day, month end, quarter end, and year end in C#.
  • C# ArrayList

    C# ArrayList class is a collection class. In this article, learn how to work with ArrayList in C#.
  • Stub Vs Fake Vs Spy Vs Mock

    In this article, you will learn about the differences between stub, fake, spy, and mock. All of these concepts are mainly used to replace the code dependencies with some alternatives so, that we can c
  • Understanding C# Inheritance In A Better Way👍

    In this video, we will see a practical explanation of C# Inheritance. We will understand what C# inheritance is and how we can relate it to natural inheritance. We will learn about related concepts li
  • Indexers in C#

    In this article, I discuss basics of C# indexers and how to use Indexers in C#.
  • Handling Equality Operator On Complex Types In C#

    This article provides ways to apply equality operator on complex types to compare types.
  • Find A Missing Number In Array Without Using Loop In C#

    This blog describes how to find a missing number in the array by using goto statement in C#.
  • Delegates And EventHandler For Events In C#

    This is blog, let's see the usage of delegates and why we use EventHandler instead of a delegate.
  • Access To Path Is Denied (Permissions Error)

    In this blog, we will see how to resolve the Access to Path is Denied error.
  • How To Determine If A Word Is An Anagram

    This blog explains how to write a C# program to determine if the given two words are anagrams or not.