C#
-
Software Design Principles: SOLID, DRY, WET, and More
When developing software, applying established design principles helps ensure your code is clean, maintainable, and scalable. In this article, we explore some of the most…
-
High Cohesion vs. Low Cohesion in Software Design
When designing software systems, the concept of cohesion plays a crucial role in determining the quality and maintainability of your code. Cohesion refers to how…
-
Understanding Loosely Coupled and Tightly Coupled Code with Examples
In software development, the concepts of loose and tight coupling play a critical role in determining the flexibility, maintainability, and scalability of your code. Coupling…
-
Understanding Polymorphism in C# Through a Shape Drawing Example
Polymorphism is a fundamental concept in object-oriented programming (OOP) that allows objects to be treated as instances of their parent class rather than their actual…
-
C# Action vs. Func vs. Predicate: Understanding Delegates and When Not to Use Them
Delegates in C# are a cornerstone of functional programming, enabling developers to pass methods as arguments, define callbacks, and create flexible, reusable code. Among the…
-
Exploring C# in a Nutshell by Joseph and Ben Albahari
For anyone delving into the world of C# and .NET development, C# in a Nutshell by Joseph and Ben Albahari has become a gold standard.…
-
C# Tip: Understanding the Differences Between IEnumerable, ICollection, IList, and List
In C#, the variety of collection interfaces and classes can sometimes be overwhelming, especially for developers new to the language. Understanding the differences between IEnumerable,…
-
Exploring DotNetPerls: A Goldmine for .NET Developers
When it comes to learning .NET development, finding a concise, practical, and easy-to-follow resource can be challenging. This is where DotNetPerls shines. As a trusted…
-
Why You Should Use HtmlAgilityPack for HTML Parsing Instead of String Manipulations
HTML parsing is a common task in web development, whether you’re building a web scraper, processing data from web pages, or manipulating HTML documents. While…
-
Creating an IPersistentDictionary in C# with SQLite Implementation
In many applications, there is a need to persist key-value pairs in storage for later retrieval, beyond the lifetime of the application. A persistent dictionary…