C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Ashish Bhatnagar(5)
Raghunath Bhukan(4)
Jaimin Shethiya(4)
Aarav Patel(3)
Sandhiya Priya(3)
Ziggy Rafiq(3)
Ajay Kumar(3)
John Godel(3)
Jitendra Mesavaniya(3)
Ramasagar Pulidindi(3)
Jayant Kumar(2)
Ajay Narkhedkar(2)
Akshay Amin(2)
Aradhana Tripathi(2)
Vinay Ayinapurapu(2)
Sanjay Kumar(2)
Nikunj Satasiya(2)
Abhishek Chadha(2)
Tank (1)
Riya Patel(1)
Jayraj Chhaya(1)
Ananya Desai(1)
Rajesh Gami(1)
Vishal Gami(1)
Mahesh Chand(1)
Sriganapathi Sekar(1)
Patrick Kearns(1)
Mominul Islam(1)
Vijay Kumari(1)
Baibhav Kumar(1)
Asfaque Ansari(1)
Sridharan D(1)
Kripanshu Kumar(1)
Sangeetha S(1)
Divyansh Gupta(1)
Ayush Gupta(1)
Siddhesh Chavan(1)
Rikam Palkar(1)
Mohammad Hasan Hosseini(1)
George (1)
Deepak Tewatia(1)
Aiswarya E V(1)
Jalpa Dhola(1)
Vishal Joshi(1)
Arpit Shrivastava(1)
Tahir Ansari(1)
Vijai Anand Ramalingam(1)
Vijay Yadav(1)
Shikha Tiwari(1)
Nandan Hegde(1)
Kautilya Utkarsh(1)
Surya Ghimire(1)
Bytehide (1)
Jobin S(1)
Dinesh Gabhane(1)
Arun Ramaswamy(1)
Akshima Aggarwal(1)
Sardar Mudassar Ali Khan (1)
Vinoth Xavier(1)
Alkesh Bijarniya(1)
Ashutosh Singh(1)
Abhishek Khandare(1)
Lynn Walker(1)
Santosh Karanam(1)
Jithu Thomas(1)
Mahender Pal(1)
Shaily Dubey(1)
Gurpreet Arora(1)
Resources
No resource found
Five Modern C# Features Every .NET Developer Should Know
Jun 16, 2026.
Master modern C# features like primary constructors, field keyword, records, pattern matching, and required members for cleaner .NET development.
Difference Between ref and out Parameters in C# with Examples?
Apr 20, 2026.
Unlock the power of ref and out parameters in C#! Master passing arguments by reference, modifying existing values with ref, and returning multiple values with out. Enhance your C# coding skills!
What are the new features in C# 14 for developer productivity?
Apr 09, 2026.
Explore C# 14's productivity boosters! Discover streamlined pattern matching, primary constructors, collection expressions, and more for efficient .NET development.
What Are Primary Constructors in C# 12 and Their Benefits?
Apr 08, 2026.
Discover C# 12's primary constructors! Simplify code, boost readability, and reduce boilerplate. Learn how they streamline data models and dependency injection.
Understanding this, base, and the Builder Pattern in C#
Jan 15, 2026.
Demystifying C# object creation! Learn when to use 'this', 'base', and the Builder Pattern for efficient, readable code. Master constructor chaining and inheritance.
Understanding Inference Parameters of Transformer Encoders
Jan 09, 2026.
Unlock the power of Transformer Encoders! Master inference parameters like attention masks and hidden states for optimal performance and control. #NLP #Transformers
Understanding LLM Generation (Decoder) Parameters (Sample/Inference Parameter): Control, Creativity, and Output
Jan 08, 2026.
Master LLM text generation! Control creativity, length, & repetition with temperature, top-k, top-p, penalties, & more. Fine-tune outputs for any task.
Partial Events and Constructors in C# 14 (.NET 10) Explained with Examples
Dec 29, 2025.
Explore C# 14's partial events & constructors! Simplify code generation, enhance extensibility, and cleanly separate generated & handwritten logic. #CSharp #dotnet
C# 14 Improved Lambda Expressions: Using ref, in, and out Parameters for High-Performance Code
Dec 28, 2025.
Explore C# 14's enhanced lambda expressions with 'ref', 'in', and 'out' parameters. Boost performance, readability, and code consistency for critical operations.
Introduction to Delegates in C#
Dec 28, 2025.
Unlock C# delegates: Learn how to declare, use, and master single-cast, multicast, and built-in delegates (Func, Action, Predicate) for flexible code!
C# 14 in Action: High-Performance Lambda Expressions with Parameter Modifiers
Dec 26, 2025.
Explore C# 14's enhanced lambda expressions with parameter modifiers (ref, in, out) for high-performance code, clearer intent, and expressive APIs. Optimize your C#!
What’s New in C# 14 (.NET 10): 7 Powerful Language Features Every C# Developer Should Know
Dec 23, 2025.
Explore C# 14's powerful features in .NET 10! Boost productivity with extension members, extension operators, field keyword, null-conditional assignment, and more. Write cleaner, safer, and faster code!
Partial Constructors in C# 14 (.NET 10) - A Game-Changing Feature
Dec 22, 2025.
C# 14 introduces Partial Constructors, a game-changer for .NET 10! Split constructor logic across files, enhance source generator support, and improve maintainability. Build modular, scalable applications with ease.
How to implement dependency injection in .NET the right way?
Dec 05, 2025.
Master Dependency Injection in .NET! Learn best practices, service lifetimes (Transient, Scoped, Singleton), constructor injection, and avoid common pitfalls for cleaner code.
Improving Query Plan Stability with OPTIMIZE FOR in SQL Server
Dec 02, 2025.
Achieve stable SQL Server query performance using OPTIMIZE FOR! This guide covers syntax, ASP.NET Core integration, and best practices to combat parameter sniffing.
Routing in Angular — A Beginner Friendly Guide With Simple Real-World Examples
Nov 25, 2025.
Master Angular routing! This beginner-friendly guide uses a real-world e-commerce example to teach navigation, parameters, and error handling in your apps. Build SPAs easily!
Mastering Dependency Injection in ASP.NET Core – Complete Beginner to Advanced Guide
Nov 23, 2025.
This article provides a complete and detailed understanding of Dependency Injection (DI) in ASP.NET Core, covering everything from basic concepts to advanced topics such as IoC containers, service lifetimes, middleware injection, captive dependency issues, and multiple service implementations. With real-world examples, clean architecture explanations, and interview-oriented insights, this guide helps developers build scalable, maintainable, and testable applications while improving their professional knowledge and .NET development skills.
What is a Constructor?
Nov 22, 2025.
Unlock the power of constructors in programming! Learn what they are, how they work, and their different types (default, parameterized, DI) with C# examples. Master object initialization!
C# 14: The Next Step in Language Evolution for .NET 10
Nov 12, 2025.
Explore C# 14's new features in .NET 10: extension members, field keyword, null-conditional assignment, span improvements, and more. Boost code clarity and performance!
Python - Importance of Function and Operations
Nov 04, 2025.
Explore Python functions: syntax, parameters, variable arguments, and return statements. Learn to build practical tools like temperature converters and password checkers.
Understanding Constructor Overloading in C# WebForms
Oct 29, 2025.
Master C# constructor overloading in WebForms! Learn to initialize objects flexibly with different parameters. Real-time example included for practical use.
Understanding Constructor Overloading in C# WebForms
Oct 29, 2025.
Master C# constructor overloading in WebForms! Learn to initialize objects flexibly with different parameters. Real-time examples & practical use cases included.
Designing Clean, Versionable Contracts with [required], Primary Constructors, and [GeneratedRegex]
Oct 27, 2025.
Craft robust .NET contracts with C# 12's required members, primary constructors, and GeneratedRegex. Ensure clear, versionable, and performant APIs and messages.
Chapter 8: References, Call by Value vs. Call by Reference
Oct 23, 2025.
Unlock the power of references and parameter passing in C++! This chapter clarifies the crucial differences between call by value (copying data) and call by reference (using aliases or pointers). Learn how to efficiently modify variables directly within functions using references and pointers, and discover the benefits of const references for performance and data safety when working with large objects.
Chapter 10: Classes and Objects: Construction and Destruction
Oct 23, 2025.
Explore object lifecycle management in C++! This chapter dives into constructors, special functions that initialize objects upon creation, covering default and parameterized constructors with practical examples. Learn about destructors, crucial for releasing resources like dynamically allocated memory to prevent memory leaks. Finally, understand the 'this' pointer and its role in differentiating member variables and enabling method chaining for cleaner code.
C# 12 Features Mastery Part 4 - Primary Constructors, Records, Pattern Matching for ASP.NET Core
Oct 15, 2025.
Master C# 12's essential features for ASP.NET Core development! Part 4 dives into primary constructors (reducing boilerplate), records (immutable data), advanced pattern matching (smarter code flow), and collection expressions (simplified collections). Learn real-world integration, performance optimization, and migration strategies for modern, efficient ASP.NET Core applications. Unlock the power of C# 12!
🌡️ Understanding Temperature in Large Language Models (LLMs)
Sep 25, 2025.
Unlock the secrets of temperature in Large Language Models (LLMs)! This guide explains how temperature controls the creativity and randomness of AI text generation. Learn how to adjust this crucial parameter for accuracy, balanced responses, or imaginative outputs. Master the art of crafting the perfect AI personality for any task, from coding to creative writing. Discover practical applications and tips for effective use.
Understanding the __init__ Method in Python
Aug 21, 2025.
The __init__ method in Python is a special method used for initializing objects when they are created from a class. It is often referred to as the constructor because it sets up the initial state of an object. In this article, we will explore what the __init__ method is, why it is important, and how to use it with practical examples.
Understanding Functions in JavaScript
Aug 13, 2025.
Learn all about JavaScript functions — from declarations, expressions, and arrow functions to callbacks and best practices — with syntax examples, tips, and explanations for writing clean, reusable, and efficient code.
Difference Between ref, out, and in Parameters in C#
Aug 13, 2025.
Learn the difference between ref, out, and in parameters in C#. Understand their usage, advantages, disadvantages, and see full real-world examples.
Constructors and Finalizers in Java: From Object Creation to Efficient Cleanup
Jul 28, 2025.
Constructors are called whenever an instance of a given class is created. Finalizers are used to destroy the object created using constructors. A Constructor method is a special kind of method that determines how an object is finalized when created. They have the same name as the class and do not have any return type.
Mastering Dependency Injection in .NET Core: A Complete Beginner-to-Advanced Guide
Jul 28, 2025.
Dependency Injection (DI) is a cornerstone of modern software architecture in .NET Core and beyond. It promotes loose coupling, testability, and maintainability, making applications easier to build and scale.
Real time Example of Constructor Chaining
Jul 23, 2025.
Learn how constructors work in Java, including overloading, static constructors, and constructor chaining using the `this` and `base` keywords—demonstrated with real-time examples like the `BankAccount` class.
The Modern .NET Developer's Guide to Vibe Coding with C# 13: Flow, Features and Best Practices
Jul 14, 2025.
Discover the newest features of C# 13 with the guide Vibe Coding with C# 13 by Ziggy Rafiq - a modern developer's guide to clean, expressive, and high-performance .NET 9 coding.
Building Objects in JavaScript
Jun 18, 2025.
JavaScript is an object-based language, which does not Completely support object oriented programming concepts. It provides a mechanism by which user-defined Objects can be created.
Modern C# in 2025: What You Should Be Using (and What to Retire)
Jun 03, 2025.
Explore the latest C# 12 and .NET 8 features in 2025, including primary constructors and required properties, while learning modern practices to write cleaner, faster, and more maintainable C# code.
Clean Code and Best Practices with C# 13
Jun 01, 2025.
Ziggy Rafiq teaches you how to create clean, maintainable, and testable C# 13 code using modern features, architecture patterns, and clean code principles.
Mastering Named, Positional, and Input/Output Parameters in Stored Procedures with EF Core
May 22, 2025.
Understanding Name Parameters, Positional Parameters, Input/Output Parameters, and Their Usage in Stored Procedures with EF Core
Real-Time Data Retrieval from APIs Using SSIS
May 14, 2025.
This article explains how to integrate APIs with SQL Server Integration Services (SSIS) to automate data retrieval using HTTP requests. It covers API setup, SSIS package creation, and script task configuration.
Primary Constructors in C# 12
Apr 18, 2025.
Primary constructors in C# 12 simplify class and struct initialization by allowing parameters to be declared directly in the class signature. This new feature reduces boilerplate code, making object creation cleaner and more concise. Great for writing modern, readable C# code.
Mastering the New Era of C#: Exploring Advanced Features in C# 14
Apr 15, 2025.
C# 14 represents a polished and sophisticated leap forward in the language’s maturity. C# 14 refines the language with primary constructors, collection expressions, interceptors, and performance enhancements.
Passing Connection as Input Parameter in PowerShell Functions
Apr 14, 2025.
Easily reuse a single SharePoint Online admin connection in PowerShell functions to fetch QA site info efficiently, reducing redundant logins and enhancing performance in M365 automation tasks.
C# 14: Exploring New Language Features for Modern .NET Development
Apr 02, 2025.
In this article, I explore the most important features introduced in C# 14.0, including primary constructors in classes, collection expressions, enhanced pattern matching, and required members. I walk through how each of these additions simplifies code, improves performance, and promotes safer, more expressive development.
Understanding Parameter Sniffing in SQL Server
Mar 24, 2025.
In SQL Server and other relational database systems, query execution performance is critical for handling large datasets efficiently. One common yet sometimes problematic optimization technique is Parameter Sniffing. While it can improve query performance.
A Simpler Way to Initialize Objects
Mar 18, 2025.
With the release of C# 12, Primary Constructors were introduced to simplify class and struct initialization. This feature allows parameters to be declared directly in the class or struct definition, eliminating the need for boilerplate code and improving readability.
Understanding in, ref, and out Parameter Modifiers in C#
Mar 09, 2025.
Learn how to use in, ref, and out parameter modifiers in C# with practical examples. Understand their differences, use cases, and best practices for passing arguments efficiently.
Scope Communication Object in JSP
Feb 28, 2025.
The Scope Communication object consist of session object, application object and pageContext object.
Remove IIS Log Files (4-1) --- Managing Sensitive Info in AWS
Feb 24, 2025.
This article will discuss parameter store and Secret Manger in AWS
Essential C# Keywords
Dec 25, 2024.
This article explains important C# keywords that help in writing more efficient code. It covers keywords like volatile, value, get, set, yield, partial, and where, describing their uses in a simple manner. These concepts are essential for anyone looking to improve their C# programming skills.
User-Defined Functions in SQL Server
Nov 21, 2024.
SQL Server supports two types of User-Defined Functions (UDFs): Table-Valued and Scalar-Valued. Table-valued functions return a table based on logic, while Scalar-Valued functions return a single value.
Explaining Deep Linking in Power Apps
Nov 12, 2024.
Deep linking in Power Apps enables direct navigation to specific screens, improving user experience and engagement. By using URL parameters, custom schemes, and StartScreen functions, developers can create targeted, optimized user journeys.
Mark Input Parameters in Triggers as Optional
Oct 28, 2024.
In this article, we’ll walk through how to mark input parameters as optional in Power Automate triggers and explore how this can improve flow flexibility.
Efficient Data Handling in SQL Server with Table-Valued Parameters
Oct 27, 2024.
This article delves into how TVPs enhance performance by enabling the transfer of multiple rows of data in a single parameter, streamlining stored procedures, and optimizing database operations.
Using C# 12 with Clean Code Practices
Sep 21, 2024.
Learn how to write cleaner, more maintainable code with C# 12 features such as primary constructors and improved pattern matching. This article explores practical examples and tips for applying clean code practices with C# 12.
Derived Class Constructors in Java
Sep 17, 2024.
Constructors are used to initialize an object of a particular type, as well as to allocate memory, and have the same name as the class.
Detailed use of Action Delegate in C#
Sep 11, 2024.
In C#, the Action delegate represents a method that does not return a value and can accept up to 16 parameters. It's useful for passing methods as arguments, callbacks, and event handling. It supports lambda expressions and anonymous methods, making code more concise. Unlike Func<T>, Action always returns void.
Exaplain Copy Constructor in C#
Sep 10, 2024.
A copy constructor in C# allows creating a new object by copying an existing object. It duplicates the values of properties and fields from the original object. This method is useful for creating independent object copies, enhancing code readability, and managing object duplication efficiently.
Explain Primary Constructor in C# 12
Sep 04, 2024.
The primary constructor in C# 12 introduces a new way to define and initialize properties directly within the class declaration, simplifying object creation and reducing boilerplate code.
Different Ways to Redirect and Retrieve ID Parameters in Angular
Sep 02, 2024.
Angular offers various methods for navigation and parameter handling in web applications. Use the RouterLink directive for simple navigation, the Router service for programmatic control, and ActivatedRoute to retrieve parameters.
Stream Conversations with Amazon Bedrock API in .NET Console App
Aug 12, 2024.
Learn how to create a .NET console application that streams conversations using the Amazon Bedrock Converse API with the Anthropic Claude 3 Sonnet model. This guide covers setting up your AWS environment, configuring Visual Studio, and using the AWS SDK to handle streaming conversations and model responses.
Constructor in .NET Core C#: Usage and Examples
Jul 29, 2024.
Learn about constructors in .NET Core with C# in this comprehensive guide. Discover how constructors initialize class instances, their role in dependency injection, and various use cases.
Singleton Design Pattern in .NET Core
Jul 26, 2024.
The Singleton Design Pattern ensures a class has only one instance and provides a global access point to it. In .NET Core, this involves a private constructor, a static instance variable, and a static method to access the instance. It’s useful for managing shared resources like database connections.
Encrypting Header & Request Body Parameters in .NET Core Web API
Jul 24, 2024.
In this article, we'll explore how to encrypt header and request body parameters in a .NET Core Web API to prevent them from being readable in the page source or by network sniffing tools. We'll use an example application developed by "Nikunj Satasiya" to illustrate the process.
Understanding Constructors in .NET Core
Jul 23, 2024.
"Explore the fundamentals of constructors in .NET Core, focusing on their role in object initialization and class setup. Learn about constructor overloading, chaining, and best practices in C#.
The Implementation of Pointer to Function
Jun 27, 2024.
This content explores the implementation of pointers to functions in C and C++ programming. It delves into their syntax, usage, and benefits, such as dynamic function calls, callback functions, and efficient memory management.
MemberwiseClone Method Instead of Copy Constructors in C# .NET
Jun 27, 2024.
When it comes to creating copies of objects in C#, there are several techniques available, each with its own advantages and use cases. This article will delve into the details of these two techniques, providing examples and comparisons to help you decide which approach is best for your needs.
Editing JSON of Fabric Data Pipelines - Part 1
Jun 21, 2024.
Enable JSON editing in Fabric data pipelines by appending the 'feature.enableJsonEdit=1' to the pipeline URL. Switch from view-only to edit mode, make necessary JSON changes, then perform a minor UI adjustment to activate the Save option. Similar flexibility as Azure Data Factory's PaaS environment.
C# .NET 8 SQL Bulk Insert Dapper vs BulkCopy vs Table-Value Params
Jun 18, 2024.
Explore the performance of SQL bulk insert methods in C# .NET 8 by comparing Dapper, BulkCopy, and Table-Value Parameters. This comprehensive analysis covers implementation details, efficiency, and best practices for optimizing large data insertions, helping developers choose the right approach for their projects.
Unlock Small Language Models Deep Dive Parameters Loss Optimization RAG
Jun 17, 2024.
Language models have revolutionized the field of natural language processing (NLP), enabling machines to understand, generate, and respond to human language with remarkable accuracy. At the heart of these models are key concepts that drive their functionality: parameters, loss functions, and optimization.
The Stochastic Gradient Descent
Jun 16, 2024.
This article delves into Stochastic Gradient Descent (SGD), a cornerstone algorithm in machine learning and optimization. It explains how SGD optimizes model training by iteratively updating parameters using random data subsets.
Delegates in .NET Core C#: Syntax, Usage and Examples
Jun 11, 2024.
A delegate is an object that points to a method; alternatively, it may be thought of as a variable of the reference type that stores references to the methods. Function pointer in C/C++, delegates are used in C#. It offers a mechanism to specify which method should be invoked in the case that an event is triggered.
Oracle Stored Procedure Output Parameters with Dapper in ASP.NET Core
Jun 11, 2024.
This article provides a detailed guide to integrating Oracle stored procedures with ASP.NET Core using Dapper, focusing on handling output parameters, which can often be a challenging aspect of database interactions.
Pagination in C#: Complete Guide with Easy Code Examples
Jun 08, 2024.
Discover how to implement pagination in C# with this comprehensive guide. Learn to use ASP.NET Core, Entity Framework, and LINQ for efficient data paging. This guide covers server-side and client-side pagination, using Skip and Take methods, handling pagination parameters, and provides easy code examples for seamless integration.
Arrow Function Variants in JavaScript
Jun 03, 2024.
Arrow functions in JavaScript offer concise syntax for writing functions. They simplify coding with features like no parameter handling, optional parentheses for single parameters, and streamlined function bodies. They're versatile, applicable in various scenarios, like callbacks and high order functions.
Optimizing Performance with Dapper with .NET Core API
May 30, 2024.
Learn Dapper best practices for optimal database interaction in .NET applications. Explore techniques like using output parameters and handling multiple result sets in stored procedures. Enhance efficiency with optimized query writing for delete operations.
UnderStanding nameof Operator in C#
May 28, 2024.
The nameof Operator retrieves names of variables or members dynamically, aiding in code maintenance. Raising PropertyChanged Event notifies property changes in INotifyPropertyChanged implementations. Argument Checking and Guard Clauses ensure robust code by validating inputs.
Mastering Azure Bicep Parameters
May 07, 2024.
This article is a comprehensive guide that takes you on a deep dive into Azure Bicep parameters. It starts with logging into Azure, then moves on to explain the concept of parameters in Azure Bicep, complete with code samples and explanations.
From Traditional to Modern: Understanding of JavaScript Functions
Apr 30, 2024.
JavaScript functions are versatile tools, organizing code, enabling reusability, and improving readability. Named, anonymous, arrow, IIFE, callback, higher-order, and constructor functions offer diverse ways to enhance code structure and functionality.
Using Stored Procedures in MySQL Enhanced Code Performance
Apr 30, 2024.
Stored Procedures in MySQL offer a streamlined approach to executing complex or frequently used SQL logic with a single call, supporting input parameters, procedural logic, and return values.
Reversing Parameter Order with Named Arguments in C#
Apr 24, 2024.
In C#, methods often take parameters that are passed in a specific order defined by their method signature. However, there are cases where you might want to reverse the order of parameters when calling a method. One approach to achieve this is by using named arguments.
Struct in C#: Syntax, And Usage
Apr 23, 2024.
A struct in C# is a value type that represents a lightweight data structure. It's defined using the "struct" keyword and contains fields, properties, and methods. Suitable for small data structures, they offer efficient memory management and are often used for performance-sensitive scenarios.
Table-Valued Parameters in SQL Server
Apr 16, 2024.
Table-Valued Parameters in SQL Server enable passing multiple rows of data to stored procedures, enhancing performance for bulk operations. Utilizing user-defined table types, they streamline data manipulation tasks and allow parameterized queries, optimizing database development and improving overall performance.
Learn about Static Class in C#
Apr 16, 2024.
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.
MERGE Stored Procedures in SQL Server
Apr 15, 2024.
In this article, I present how to use the MERGE statement in a stored procedure to merge a single record and how to use it to merge a list of records by using Table-Valued parameters in SQL Server.
User Defined Objects in JavaScript
Mar 29, 2024.
JavaScript provides a number of pre-defined objects like Array, String, Image, Date etc. which are very useful in web development.
An Overview of C# Static Constructors
Mar 20, 2024.
Static Constructors are a powerful mechanism for initializing static members and performing one-time setup tasks in C# classes.
How to Pass Credentials as Parameters in PowerShell
Mar 09, 2024.
Learn how to securely pass credentials as parameters in PowerShell using PSCredential. This guide covers reading user input, updating a SharePoint Online site title, and using PowerShell modules for secure authentication and logging.
Mastering Object Creation in C#
Mar 04, 2024.
Learn to create objects in C# step-by-step. Define classes, instantiate objects, access members, use constructors, and explore static constructors—master object creation for robust C# applications.
How to Pass a Parameter to Event Handler or Callback in React.js
Feb 22, 2024.
In React, passing parameters to event handlers can be done using arrow functions or the bind method. Choose the approach that suits your project for optimal performance and readability.
Parameter Binding in Minimal API in ASP.NET Core
Feb 06, 2024.
When building web applications using ASP.NET Core, developers often need to handle incoming data from HTTP requests. One crucial concept that helps achieve this is called parameter binding. Let's break down this fundamental idea in the context of Minimal API in ASP.NET Core.
Limiting Class Instances in C# with Private Constructor
Feb 06, 2024.
Control class instances in C# by using a counter and private constructor. Explore limiting class instances in C# with a private constructor and a counter variable. Control the instantiation and set a maximum limit for better class management and efficiency.
What Are Primary Constructors in C# 12?
Jan 31, 2024.
C# 12 has a number of new features, one of which is Primary Constructors, which offer a simplified and more concise method of constructing objects in C#.
What is Params In C#?
Jan 31, 2024.
In C# programming, the "params" keyword plays a crucial role in enhancing flexibility and convenience when dealing with methods that accept a variable number of the same type of parameters.
JavaScript Destructuring: Arrays, Functions, and Objects
Jan 31, 2024.
Destructuring is a powerful feature in JavaScript that allows you to extract values from arrays, objects, and function parameters easily.
Power BI Parameters for Efficient Data Source Configuration
Jan 30, 2024.
This article is about using Power BI Parameters for Data Source Configuration. In this Power BI project, connecting to an on-premise Business Central instance posed challenges during deployment. The solution involved using Power BI Parameters for dynamic and configurable data source connections.
How to Create Reusable Confirmation Modals in Blazor Server
Jan 17, 2024.
In this article, we will learn how to make confirmation pop-ups in your Blazor Server applications easily. Follow a step-by-step guide using parameters and EventCallback to create reusable models, making your app more user-friendly and efficient
Default Lambda Parameters in C# 12
Jan 05, 2024.
C# 12 introduces a game-changer: default lambda parameters. This article delves into this powerful feature, showcasing its functionalities, advantages, and practical applications through detailed examples across diverse scenarios. Learn how to reduce code duplication and enhance readability.
Ref Readonly Parameters in C# 12
Jan 03, 2024.
C# 12 unveils a hidden gem: ref readonly parameters. This article delves beyond the surface, offering a deep dive into their benefits, usage patterns, and how they differ from familiar options like ref and in. Embrace their power for safer, clearer, and more efficient code. In the current digital era, we try to de-couple applications from one another so it is supposed to adapt to plug it in another version or another application easily.
What is Primary Constructors in C# 12?
Jan 03, 2024.
Ditch the boilerplate and embrace elegant object creation with C# 12's primary constructors. This feature takes the hassle out of initialization, simplifies member assignment, and clarifies your code. Dive into its syntax, power, and practical application for smoother development.
Exploring Default Lambda Parameters in C# 12
Jan 01, 2024.
Default Lambda Parameters in C# 12.