What are Indexers and how to use them in C#

    What are Indexers and how to use them in C#

    Jun 24, 2024
    Categories: C#

    How to use Indexers in custom collections, what are the Indexers set and get accessors, how to have parameters that are not integers, create indexers with multiple parameters and how multiple indexers in the same class work.

    Read
    The Tell Don't Ask Principle

    The Tell Don't Ask Principle

    Jun 17, 2024
    Categories: Architecture

    What is the tell don't ask principle and the different ways to apply it in you code with examples

    Read
    What Is Primitive Obsession And How To Avoid It

    What Is Primitive Obsession And How To Avoid It

    Jun 11, 2024
    Categories: Architecture, C#

    What is primitive obsession, the different kinds of primitive obsession, consequences it can have and solutions for each case

    Read
    Optional Parameters In Constructor Vs Init Properties

    Optional Parameters In Constructor Vs Init Properties

    Jun 4, 2024
    Categories: C#

    When Init Properties in C# are better suited for object initialization than optional parameters in the type's constructor

    Read
    Why We Have Strings As Managed Reference Types

    Why We Have Strings As Managed Reference Types

    May 28, 2024
    Categories: C#

    Some thoughts, from an answer I gave to the Unity forums about C# strings

    Read
    Type Conversions And The Implicit and Explicit Operators In C#

    Type Conversions And The Implicit and Explicit Operators In C#

    May 21, 2024
    Categories: C#

    The different ways we can convert between instances of types and where to use each

    Read
Follow me: