DDev_Nareninanonymoustypesdevnaren.hashnode.dev·Dec 7, 2025 · 2 min readConstructor 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...00
DDev_Nareninanonynmousmethod2.hashnode.dev·Jul 1, 2025 · 2 min readAnonymous 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...00
DDev_Narenindelegatesnarencsharp.hashnode.dev·Jun 21, 2025 · 2 min readDelegates 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...00
DDev_Nareninnarendraapplicationexception.hashnode.dev·Jun 18, 2025 · 2 min readApplication 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...00
DDev_Nareninnarendramastering-exception-handling-in-csharp.hashnode.dev·Jun 16, 2025 · 6 min readC# - 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...00