Delegates are used to create references to different methods in C#. Creating these references aims to make the methods accessible in an event-driven approach. There are two major predefined delegates…
asp.net
Delegates in C#/.NET seemed like an “extra” thing when I first learned about them. But, as I started practicing more and more and started doing small projects, delegates became my…
A Dictionary in C# is a collection of key-value pairs, where each key is associated with a unique value providing and easy and quick retrieval.
Discover the power of lists in C#! Learn how to declare, manipulate, and store data in lists with code examples in this beginner’s guide.
For Loops are used to execute a block of code for a set number of times optimizing code and saving you multiple lines of code.
In C#, string formatting is like combining different things such as strings, values, and expressions to create a cool formatted string. It’s like setting up a template with placeholders that…
If you’re a developer working with ASP.NET, you’ve likely heard the term “middleware” thrown around quite a bit. But what exactly is it, and why is it so important? Put…
In C#, the Switch statement is the type of control flow statement to compare a single expression with multiple values. If a value matches the test expression, then the specific…
As a developer lot of time, you come across ” Object reference not set to an instance of an object ” error and sometimes along with the yellow screen of…