C# guides
Every C# article in the library in slug order, with the full list on one page so nothing is buried behind pagination.
758 guides · Showing 401–600 · Page 3 of 4
- C# List Declaration: Syntax and Initialization
- C# List Exists: How to Check for Elements
- C# List Find: Using Predicates to Locate Elements
- C# List Find vs LINQ First: Which to Use
- Using C# List FindAll to Filter Collections
- C# List FindIndex: Locating Elements by Predicate
- C# List foreach: Syntax, Pitfalls, and Performance
- C# List IndexOf: Locating Elements in a List
- C# List Initialization: Syntax, Examples, and Performance
- C# List Insert: Syntax, Behavior, and Performance
- C# List Pattern: Match Collections with Concise Syntax
- Remove Duplicates from a List in C#
- C# List Remove: Methods and Performance
- Using List.RemoveAll in C# to Filter Elements
- C# List RemoveAt: Removing Elements by Index
- How to Reverse a List in C#: In-Place and LINQ
- C# List Sort: List.Sort vs LINQ OrderBy
- C# List to Array: Converting Collections with ToArray()
- C# List Usage: Practical Guide to List<T> Operations
- C# List vs Dictionary: Choosing the Right Collection
- C# List vs HashSet: Choosing the Right Collection
- C# List vs LinkedList: When the Difference Matters
- C# Local Function: Syntax, Use Cases, and Performance
- C# Local Variable Usage: Types, Scope, and Pitfalls
- Using the C# lock Keyword for Thread Safety
- C# Lock Object: Choosing What to Lock and Why
- C# Logical Operators Explained with Examples
- C# Logical Pattern
- C# Member Variable Usage: Fields, Access, and Initialization
- C# Member Variables Explained with Examples
- C# MemberwiseClone: Shallow Copy Basics
- Using C# Memory Slice for Efficient Data Access
- C# Memory Usage: Diagnosing and Reducing Allocations
- C# Memory vs ReadOnlyMemory: Choosing the Right Type
- C# Memory vs Span: Choosing the Right Approach
- C# Method Call: Syntax, Parameters, and Return Values
- C# Method Declaration: Syntax and Use
- C# Method Overloading: Syntax, Rules, and Practical Use
- C# Method Overloading Rules: How Resolution Works
- C# Method Overriding: Syntax, Behavior, and Pitfalls
- C# Method Parameters: ref, out, in, params
- C# Method vs Function: What Actually Differs
- C# Modify Array Values: Direct Assignment and Alternatives
- C# Modulo Operator: Syntax and Common Pitfalls
- C# Monitor vs Lock: When to Use Each
- C# Multidimensional Array: Syntax and Usage
- C# Multidimensional Array vs Jagged Array: Key Differences
- C# Multiple Catch Blocks: Syntax and Ordering
- C# Multiple Conditions in If Statement: Combining and Simplifying
- C# Multiple Generic Type Parameters: Syntax and Usage
- Multiple Inheritance in C#: What to Use Instead
- C# Multiple Interface Implementation: Syntax and Collisions
- C# Multiple Parameter Indexer: Syntax and Use
- C# Named Arguments: Syntax and Usage
- C# Named Tuples: Syntax and Practical Usage
- C# nameof Keyword: Compile-Time String Names
- C# Namespace Conflict Resolution Techniques
- C# Namespaces: Organizing Code and Avoiding Conflicts
- C# Nested Class: Usage, Scope, and Design Tradeoffs
- Using C# Nested For Loops Effectively
- C# Nested If Statement: Readability and Alternatives
- C# Nested Namespaces: Syntax, Layout, and Use
- C# Nested Object Initializer Syntax and Behavior
- C# Nested Type Access Modifiers Explained
- Understanding the C# new Keyword: Operator, Modifier, and Constraint
- C# New Method Hiding: Syntax and Runtime Behavior
- C# new vs override: Choosing Between Method Hiding and Overriding
- C# Non-Nullable Reference Type Syntax
- C# Null Check: Syntax, Patterns, and Pitfalls
- C# Null Coalescing Assignment Operator
- Using the C# Null Coalescing Operator Effectively
- C# Null Conditional Operator: Syntax and Behavior
- C# Null Forgiving Operator: Usage and Pitfalls
- C# Null Pattern Matching: Syntax and Practical Usage
- C# Nullable Enable Usage: Syntax and Patterns
- C# Nullable GetValueOrDefault: Usage and Behavior
- C# Nullable Int Usage: Syntax, Checks, and Pitfalls
- C# Nullable Operators: Syntax and Usage
- C# Nullable Reference Type: Enabling and Using It Safely
- Understanding C# Nullable Reference Type Syntax
- Using C# Nullable Reference Types in Real Code
- C# Nullable Usage: Value Types and Reference Types
- C# Nullable Value Property: Syntax and Usage
- C# Nullable Value Type: Syntax and Usage
- C# Object Casting and Boxing: How Type Conversion Works
- C# Object Copying: Shallow vs Deep Copy
- C# Object Creation: Choosing the Right Approach
- Understanding C# Object Equals: Reference vs Value Equality
- C# Object.Equals vs ReferenceEquals: Key Differences
- C# Object Initialization Explained
- C# Object Initializer Syntax and Usage
- C# Object Type Usage: When and How to Use It
- C# object vs dynamic: Key Differences and Use Cases
- The C# Obsolete Attribute: Marking Deprecated Code
- C# Operator Overloading: Syntax and Usage
- C# Optional Parameters: Syntax, Behavior, and Pitfalls
- C# Out Parameter: How to Use It Correctly
- C# Overflow Handling with checked and unchecked
- How to Overload the == Operator in C#
- C# Overloading vs Overriding: Key Differences
- C# Override Keyword: How to Use It
- C# override vs new: Choosing the Right Method Behavior
- C# Parameterized Constructor: Syntax and Usage
- C# Params Array: Syntax and Usage
- C# Params Collection: Syntax, Behavior, and Pitfalls
- Using the C# params Keyword for Variable Arguments
- C# Params Multiple Arguments
- Using C# params Span for Efficient Method Calls
- C# Parse vs TryParse: When to Use Each for String Conversion
- C# Parse vs TryParse: When to Use Each
- C# Parse vs TryParse vs Convert
- C# Partial Class Use Cases
- C# Partial Method Usage and Limitations
- Passing an Array to a Method in C#: Syntax and Behavior
- C# Pass Method as Parameter: Delegates and More
- C# Pattern Matching: Syntax and Practical Use
- C# Pattern Matching Type Conversion: Type Patterns
- C# Polymorphism: Overloading, Overriding, and Interfaces
- C# Positional Pattern: Matching Objects by Shape
- C# Positional Record: Syntax and Behavior
- C# Predicate Delegate: Usage and Examples
- C# Prefix vs Postfix Increment
- C# Primary Constructor: Syntax and Use Cases
- C# Primary Constructors for Classes: Syntax and Usage
- C# Primary Constructor Field Access: Storing Parameters
- C# Primary Constructor Inheritance Explained
- C# Primary Constructor Struct: Syntax and Behavior
- C# Primary Constructors: Syntax, Scope, and Pitfalls
- C# Private Constructor Usage and Patterns
- C# Private Keyword: Scoping Members Correctly
- C# Private Protected: Syntax and Usage
- C# Private Set: Syntax and Use Cases
- c# property default value: Setting Initial Values Correctly
- C# Property Pattern with Examples
- C# Property Usage: Patterns and Pitfalls
- C# Property Validation: Choosing the Right Approach
- C# Property vs Field: When to Use Each
- C# Property vs Indexer: Key Differences and Usage
- C# Protected Constructor Usage and Scenarios
- C# Protected Inheritance: Access in Derived Classes
- C# Protected Internal: Union Access Explained
- Understanding the C# Protected Keyword
- C# Protected vs Internal: Choosing the Right Access Modifier
- C# Public Keyword: Scope and Access Control
- C# Public vs Private: When to Use Each
- C# Publisher Subscriber Pattern: Events in Practice
- C# Queue Enqueue and Dequeue: Usage and Performance
- C# Queue Peek: Reading the Front Without Removing It
- C# Queue.TryDequeue: Safe Dequeue Without Exceptions
- Using Queue<T>.TryPeek in C# to Inspect Items Safely
- C# Queue Usage: FIFO Data Structure with Examples
- C# Queue vs Stack: Choosing the Right Collection
- Raising Events in C#: Syntax, Safety, and Common Pitfalls
- Using the C# Range Operator
- C# Raw String Literal Syntax and Use Cases
- C# readonly Keyword Usage: Fields, Structs, and ref readonly Returns
- Understanding readonly ref in C#
- C# Readonly Struct: When and How to Use
- Using ReadOnlySpan in C# for Slicing and Validation
- C# Record Constructor: Syntax and Customization
- C# Record Deconstruct: Extract Fields Cleanly
- C# Record Equality: How It Works and When to Customize
- C# Record Equality vs Class Equality Explained
- C# Record with Object Copy: Using `with`
- C# record struct: Value Semantics with Record Features
- C# Record Usage: Syntax, Equality, and Tradeoffs
- C# Record vs Class: Choosing the Right Type
- C# Record vs Struct: Choosing the Right Type
- C# Record with Expression: Copy and Modify Records
- C# Recursive Method: Syntax, Stack, and Pitfalls
- C# Recursive Pattern Matching Explained
- C# ref vs in vs out: Choosing the Right Parameter Modifier
- c# ref Keyword: Passing Arguments by Reference
- C# ref local: aliasing variables without copying
- C# ref vs out vs in: Parameter Modifiers Explained
- C# ref Parameter: How It Works and When to Use It
- C# ref readonly: Passing Large Structs Without Copies
- C# Ref Return: Syntax, Usage, and Performance
- C# ref struct: Constraints and Practical Use
- C# ref vs out: Choosing the Right Parameter Modifier
- C# Reference Equality vs Value Equality
- C# ReferenceEquals: When to Use It and How It Works
- Detecting Generic Types with C# Reflection
- C# Reflection: Get Attributes from Types and Members
- How to Get Methods with C# Reflection
- C# Reflection: Get Properties at Runtime
- C# Reflection GetType: Inspect Runtime Types
- C# Reflection: typeof in Practice
- C# relational pattern
- C# Required Keyword: Syntax and Usage
- C# Required Property: Enforcing Initialization
- C# Required vs Init: Key Differences
- C# Return Multiple Values: Tuples, Out Parameters, and Custom Types
- C# Return Statement: Syntax and Behavior
- C# Reverse Array: Methods and Performance
- C# Runtime Polymorphism: Virtual Methods and Interfaces
- C# scoped ref: Controlling Reference Lifetimes
- C# Sealed Class: When and Why to Use It
- C# Sealed Method: Preventing Overrides
- C# Select vs SelectMany: Key Differences