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

    Utilizing AutoResetEvent in a Multi-Threaded Program in C#

    In C#, a thread serves as the smallest unit of execution within a process. It functions as a pathway through a program's code and has the ability to run independently, enabling concurrent execu...
    Sanjay Kumar Mar 01, 2024
  • Sanjay Kumar

    Guide on Utilizing SemaphoreSlim in C#

    SemaphoreSlim in C# serves as a synchronization primitive for managing access to a limited resource concurrently. It's particularly useful when restricting access to a resource for a specific n...
    Sanjay Kumar Mar 01, 2024
  • Yogesh Vedpathak

    Exploring LINQ in C#: Syntax and Types

    LINQ with method and query syntax, and discover the various types of LINQ with practical examples. LINQ (Language-Integrated Query) in C# provides a unified way to query various data sources. Two s...
    Yogesh Vedpathak Feb 24, 2024
  • Sanjay Kumar

    How to Use FileSystemWatcher in C#

    FileSystemWatcher is a class in C# that allows developers to monitor file system changes in a specific directory or a set of directories. It provides events that are raised when certain types of ch...
    Sanjay Kumar Feb 22, 2024
  • Prasad Raveendran

    Understanding the Declaration Pattern in C#

    In the realm of C# programming, developers often encounter scenarios where they need to check and extract information from objects in a concise and readable manner. The declaration pattern in C# pr...
    Prasad Raveendran Jan 27, 2024
  • Siva V

    Why Do We Need to Understand Threads in C#

    Threads play a crucial role in concurrent programming, allowing multiple tasks to execute concurrently. This blog provides a comprehensive introduction to threads in C#, starting from the basics an...
    Siva V Jan 13, 2024
  • Siva V

    Create a Windows Service in C#

    A Windows service is a background application that runs without direct user interaction. It can start automatically with the operating system and is designed to perform tasks that run continuously ...
    Siva V Jan 12, 2024
  • Siva V

    Mutex in C#: Ensuring Synchronization and Exclusive Access

    In concurrent programming, ensuring synchronized access to shared resources is paramount to prevent data corruption and maintain consistency. Mutex (Mutual Exclusion) is a synchronization primitive...
    Siva V Jan 10, 2024
  • Siva V

    What is YAGNI Principle in C#?

    the YAGNI (You Ain't Gonna Need It) principle emerges as a beacon of wisdom. YAGNI encourages developers to refrain from implementing features or functionality until they are actually deemed ne...
    Siva V Jan 04, 2024
  • Subarta Ray

    C# Garbage Collection: Simplifying Memory Management

    Learn how it spares developers' manual cleanup, prevents leaks, and boosts performance, making code cleaner and more efficient. C# employs an automatic garbage collector to identify and reclaim...
    Subarta Ray Jan 01, 2024
  • Anandu G Nath

    Constructor in C#

    In C#, constructors are special methods within a class that are used to initialize objects of that class. The name of the constructor is always is the same name as the class. A C# constructor can b...
    Anandu G Nath Dec 27, 2023
  • Muhammad Imran Ansari

    Explain DateOnly and TimeOnly in C#

    This article has provided insights into the recently introduced DateOnly and TimeOnly types of C# in .NET 6. .NET 6. These structs were also accessible in the .NET Framework. However, their utiliza...
  • Siva V

    REST API Authentication Methods in C#

    From the humble beginnings of Basic Authentication to the sophistication of Token, OAuth, and API Key Authentication, this narrative will explore the background, highlight real-world problems, and ...
    Siva V Dec 23, 2023
  • Siva V

    KISS Principle for Making Sandwich in C#

    The KISS principle advocates for simplicity in code design. It encourages developers to favour straightforward solutions that are easy to understand, maintain, and less prone to errors. In essence,...
    Siva V Dec 20, 2023
  • Subarta Ray

    What are Destructors in C#?

    In C# programming, think of destructors as digital janitors—they clean up your code and handle resources properly. Let's dig into the basics of destructors—what they are, how they work, and why...
    Subarta Ray Dec 20, 2023
  • Brahma Prakash Shukla

    C# Multithreading

    Unleashing the Power of Parallelism: A Deep Dive into C# Multithreading. Multithreading involves the concurrent execution of multiple threads within the same program. A thread represents the smalle...
  • Siva V

    What is Reflection in C#?

    Reflection is the ability of a program to inspect its own structure, metadata, and behaviour during runtime. It enables you to query and interact with types, methods, fields, properties, and other ...
    Siva V Dec 18, 2023
  • Siva V

    What is Constructor Chaining in C#

    It enables a class to have multiple constructors, and each constructor can call another constructor, simplifying code and enhancing reusability.
    Siva V Dec 16, 2023
  • Siva V

    Understanding C# Tuples

    Understanding C# Tuples
    Siva V Dec 15, 2023
  • Siva V

    IEnumerable, IEnumerator, IQueryable, and IList in C#

    Understanding IEnumerable, IEnumerator, IQueryable, and IList in C#. Delve into the world of C# and .NET collections as we dissect the roles of crucial interfaces: IEnumerable, IEnumerator, IQuerya...
    Siva V Dec 07, 2023

  •          
  •          
  •