Collection Expressions in C#

    Collection Expressions in C#

    Aug 5, 2024
    Categories: C#

    What are collections expressions and how to use them in custom types.

    Read
    How To Choose Between Conflicting Programming Principles

    How To Choose Between Conflicting Programming Principles

    Jul 22, 2024
    Categories: Architecture

    How to architect your code when you have to decide between contradictory programming principles

    Read
    How To Ensure Correct Struct Initialization In C#

    How To Ensure Correct Struct Initialization In C#

    Jul 9, 2024
    Categories: C#

    How to write structs in a way that their fields always hold the desired value at initialization

    Read
    Indices And Ranges in C#

    Indices And Ranges in C#

    Jul 1, 2024
    Categories: C#

    What are the Index and Range structs, and how do you use the index-from-end and range operators in C#?

    Read
    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
Follow me: