Singleton vs. Static Class in C# - Choosing the Right Approach
C# Latest Articles Blog
by
3d ago
Singleton and Static classes can only have one instance available in memory, and both classes can be used to maintain the global state of an application, however, there are many differences between them. In this article, I explain what their differences are ..read more
Visit website
Learn about Static Class in C#
C# Latest Articles Blog
by
4d ago
This article explores the concept of static classes in C#, detailing their characteristics, usage, and limitations. It covers static class setup, static class features, static method usage, and dependency injection considerations ..read more
Visit website
Microsoft.Extensions.DependencyInjection for Dependency Injection
C# Latest Articles Blog
by
4d ago
Dependency Injection (DI) is a software development design pattern that aims to achieve loose coupling between components and enhance the maintainability, testability, and scalability of applications. In the context of C#, DI is commonly implemented using frameworks like ..read more
Visit website
Difference Between Class and Struct in C#
C# Latest Articles Blog
by
4d ago
Struct and Class in C# are integral components for creating and managing objects, but they differ in fundamental ways. Understanding the difference between struct and class in C# empowers developers to make informed decisions, optimizing their code for specific requirements and use cases ..read more
Visit website
Understanding Structs(Structure) in C# With Employee Example
C# Latest Articles Blog
by
5d ago
In C#, a struct (short for structure) is a value type that encapsulates data and behavior related to a single concept. Structs are used to represent lightweight objects that typically contain a small number of fields. In this article, we'll explore what structs are, how they differ from classes, and their advantages ..read more
Visit website
Not all Functions are C# Methods
C# Latest Articles Blog
by
5d ago
How to write your functional programming functions in C#? That is the main question we're going to answer in this article ..read more
Visit website
SOLID Principles in C# for Employee Management Example Mastering
C# Latest Articles Blog
by
1w ago
SOLID principles are a set of design principles that help developers create maintainable, scalable, and flexible software. In this article, we'll explore each of the SOLID principles: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion ..read more
Visit website
Enumerations or enum in C#: An Advanced Guide
C# Latest Articles Blog
by
1w ago
In the dynamic landscape of software development, enums stand as a robust tool for encapsulating a fixed set of related constants. In this comprehensive guide, we'll delve into the advanced capabilities of enums in C#, exploring their practical implementation through a project management scenario ..read more
Visit website
The Experimental Attribute in .NET 8 and C# 12
C# Latest Articles Blog
by
2w ago
In this article, we will discuss Experimental Attributes in .NET 8 and C# 12. The ExperimentalAttribute in C# .NET 8 marks APIs as experimental, signaling potential changes. It's crucial for libraries or APIs to foster controlled innovation ..read more
Visit website
What is Record Keyword/Function in C#?
C# Latest Articles Blog
by
2w ago
Records introduced in C# 9.0 represent a significant enhancement to the language's capability for handling data. This article aims to explore records in-depth, covering their syntax, features, and usage through illustrative examples ..read more
Visit website

Follow C# Latest Articles Blog on FeedSpot

Continue with Google
Continue with Apple
OR