Constructor in C#Types of Constructors in C# In C#, constructors are essential for initializing objects. They are divided into five main categories: Default Constructor: A default constructor is defined without any parameters. It initializes the fields of a class wi...Dec 7, 2025 · 2 min readanonymoustypesdevnaren.hashnode.dev
Anonymous Methods (Introduce in C# 2.0)In versions of C# before 2.0, the only way to instantiate a delegate was to use named methods. C# 2.0, the only way to use named methods. C# 2.0 introduced anonymous methods which provide a technique to pass a code block as a delegate parameter. Anon...Jul 1, 2025 · 2 min readanonynmousmethod2.hashnode.dev
Delegates in C#Delegates is a type which holds the method(s) reference in an object. It is also referred to as a type safe function pointer. Delegates are roughly like from pointers in C++; however delegates are type safe and secure. A delegate instance can encapsu...Jun 21, 2025 · 2 min readdelegatesnarencsharp.hashnode.dev
Application Exception - 2So, today we going to talk about these application exception which is a second part of our exception and handling blog if you haven’t read that blog then must read it by clicking on this link below: https://narendramastering-exception-handling-in-csh...Jun 18, 2025 · 2 min readnarendraapplicationexception.hashnode.dev
C# - Exceptions and Exception HandlingIn the development of an application, we will be coming across 2 different types of errors, like: Compile time errors. Runtime errors. Errors which occur in a program while the execution of a program is taking place are known as runtime errors, w...Jun 16, 2025 · 6 min readnarendramastering-exception-handling-in-csharp.hashnode.dev