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

    UnderStanding nameof Operator in C#

    The nameof Operator retrieves names of variables or members dynamically, aiding in code maintenance. Raising PropertyChanged Event notifies property changes in INotifyPropertyChanged implementation...
    Dinesh Gabhane May 28, 2024
  • Ajay Kumar

    Understanding Reflection in C#

    Reflection in C# allows runtime inspection and interaction with object types and members, enabling dynamic invocation, type inspection, and metadata access. It's powerful for development tools ...
    Ajay Kumar May 28, 2024
  • Rajeev Punhani

    Working With HashSet In C#

    C# HashSet, introduced in .NET 3.5 within System.Collections.Generic, is an unordered collection of unique elements. It efficiently prevents duplicate entries, outperforming lists. This article cov...
    Rajeev Punhani Jul 06, 2016
  • Richa Garg

    Working With Stack In C#

    Learn how to work with stacks in C#. The Stack class in C# provides a collection of objects that follows the Last-In-First-Out (LIFO) principle. Key operations include Push, Pop, and Peek. Understa...
    Richa Garg Jun 02, 2012
  • Richa Garg

    C# Queue Tutorial

    Learn how to efficiently manage data using queues in C#. This comprehensive tutorial covers the basics of the Queue data structure, including enqueue and dequeue operations, practical examples, and...
    Richa Garg Jun 01, 2012
  • Diptiranjan Sutar

    Resizing Arrays in C# with Examples

    In C#, the `Array.Resize<T>` method changes the size of a one-dimensional array, either expanding or shrinking it. This method allocates a new array, copies elements, and replaces the old arr...
    Diptiranjan Sutar May 28, 2024
  • Pradeep Tiwari

    Working with HashTable in C# 2.0

    Explore Hashtable in .NET 2.0, storing data with key-value pairs, constructors for capacity and load factor, fetching data with enumerator, clearing, and searching by key or value. Get ready for mo...
    Pradeep Tiwari Nov 13, 2006
  • Diptiranjan Sutar

    Null-Conditional Operators in C# - Simplifying Null Checks & More

    Explore the null-conditional operators in C# 6.0, which simplify null checks and prevent NullReferenceExceptions. Learn about the ?. operator, null-conditional indexing, and combining these with nu...
    Diptiranjan Sutar May 27, 2024
  • Jitendra Mesavaniya

    Verbatim String Literals vs Raw String Literals in C#

    String handling is a crucial aspect of programming, and C# provides multiple ways to manage strings effectively. This article compares verbatim string literals and raw string literals, highlighting...
  • Ajay Kumar

    Strategy Pattern in C# with Example

    The Strategy Pattern in software development manages conditional logic elegantly by encapsulating algorithms into interchangeable classes. This approach enhances code flexibility, maintainability, ...
    Ajay Kumar May 27, 2024
  • Dinesh Gabhane

    Null-Conditional Operators in C#

    This article explains Null-conditional Operators in C#, detailing their use for simplifying null checks, avoiding NullReferenceExceptions, working with collections, and combining with extension met...
    Dinesh Gabhane May 27, 2024
  • Rishabh Bhardwaj

    Understanding the Singleton Pattern in C#

    The Singleton pattern is one of the most commonly used design patterns in software engineering. It falls under the category of creational patterns and ensures that a class has only one instance whi...
    Rishabh Bhardwaj May 27, 2024
  • Jasminder Singh

    Var Vs Dynamic Keywords In C#

    Difference Between Var And Dynamic In C#. The two concepts of static and dynamic types in C# can be illustrated with the use of the two keywords named var and dynamic. Var Vs Dynamic In C#.
    Jasminder Singh Mar 04, 2014
  • Rohatash Kumar

    Difference Between Object and Dynamic Keyword in C#

    In C#, both object and dynamic are used for handling data of any type, but they serve different purposes. The object keyword is used for static typing, requiring explicit type casting, while dynami...
    Rohatash Kumar May 14, 2014
  • Rohatash Kumar

    Const, ReadOnly and Static Keywords in C#

    Explore the differences between const, readonly, and static keywords in C#. This guide covers their unique functionalities, use cases, and best practices in C# programming. Learn how to effectively...
    Rohatash Kumar May 15, 2014
  • Ck Nitin

    Some Important Keywords of C#: Part 1

    This is very simple part 1 article but will clear some of the concepts of C# for those who are learning or for those also who might have good knowledge but unfortunately miss these important keywor...
    Ck Nitin Aug 01, 2013
  • Mukesh Kumar

    Ref And Out keyword In C#

    IN this article, we will learn Ref" and "Out" keywords in C# are used to modify method parameter behavior. "Ref" passes parameters by reference, allowing method changes to ...
    Mukesh Kumar Oct 08, 2015
  • Sreenath Kappoor

    While Loop in C#

    Explore the power of while loops in C# programming with this comprehensive guide. Learn how to utilize while loops for iterative tasks, control flow, and conditional execution. Master essential syn...
    Sreenath Kappoor May 24, 2024
  • Sreenath Kappoor

    Print * Tree Counts From 1 to 10 and 10 to 1 Using C#

    In C#, print tree counts from 1 to 10 and 10 to 1 using nested loops for ascending and descending order respectively. Utilize console output and loop control structures for efficient counting and d...
    Sreenath Kappoor May 24, 2024
  • Jitendra Mesavaniya

    Understanding ToString() vs Convert.ToString() in C#

    In C#, both ToString() and Convert.ToString() are used to convert objects to their string representation. However, they have different usages and behavior. Understanding the differences between the...

  •          
  •          
  •