651.288.7000 info@intertech.com

C# Tutorial: Understanding C# Events

C# Tutorial: Understanding C# Events I am surprised how often C# developers are confused about delegates and events. They sometimes forget how all C# events are based on delegates and what the delegates offer for C# events. As well, some are confused about how to...

The Five Types of C# Types

The .NET Common Language Specification (CLS) defines the five types of C# types used by .NET programming languages. They include class, structure, interface, enumeration, and delegate. These types represent the most common programming constructs used for writing code...

The Dependency Inversion Principle with C# Examples

According to Wikipedia the Dependency Inversion Principle (popularized by Robert Martin) states that: High-level modules should not depend upon low-level modules. Both should depend upon abstractions. Abstractions should not depend upon details. Details should depend...

The Open Closed Principle with C# Examples

The open closed principle states “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification”.  For the sake of this post I will use the term “server” to describe a class in an API – a...