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]
Aarav Patel(5)
John Godel(5)
Sandhiya Priya(4)
Raghunath Bhukan(3)
Jitendra Mesavaniya(3)
Saurav Kumar(2)
Ananya Desai(2)
Jayant Kumar(2)
Ajay Narkhedkar(2)
Vishal Gami(2)
Mahesh Chand(2)
Vijay Pratap Singh(2)
Baibhav Kumar(2)
Kautilya Utkarsh(2)
Ayush Gupta(2)
Aradhana Tripathi(2)
Vinay Ayinapurapu(2)
George (2)
Jignesh Kumar(2)
Sanjay Kumar(2)
Ziggy Rafiq(2)
Jaimin Shethiya(2)
Ramasagar Pulidindi(2)
Tanuj (1)
Rajesh Gami(1)
Sriganapathi Sekar(1)
Akshay Amin(1)
Tuhin Paul(1)
Vijay Kumari(1)
Praveen Kumar(1)
Sridharan D(1)
Asfaque Ansari(1)
Rinki (1)
Amit Mohanty(1)
Siddhesh Chavan(1)
Mohammad Hasan Hosseini(1)
Ashish Bhatnagar(1)
Deepak Tewatia(1)
Praveen Raveendran Pillai(1)
Aiswarya E V(1)
Jalpa Dhola(1)
Tahir Ansari(1)
Vijai Anand Ramalingam(1)
Naveen Kumar(1)
Nikunj Satasiya(1)
Shikha Tiwari(1)
Nandan Hegde(1)
Ajay Kumar(1)
Surya Ghimire(1)
Bytehide (1)
Abhishek Chadha(1)
Jobin S(1)
Dinesh Gabhane(1)
Arun Ramaswamy(1)
Akshima Aggarwal(1)
Sardar Mudassar Ali Khan (1)
Sandeep Thomas(1)
Saksham Gupta(1)
Alkesh Bijarniya(1)
Ashutosh Singh(1)
Santosh Karanam(1)
Jithu Thomas(1)
Mahender Pal(1)
Alpesh Maniya(1)
Shaily Dubey(1)
Gurpreet Arora(1)
Keyur (1)
Resources
No resource found
What is the difference between struct and class in C# with performance comparison?
Apr 22, 2026.
Unlock C# performance! Explore struct vs. class differences: memory, speed, and use cases. Optimize your .NET apps with the right choice for efficiency.
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 is the Difference Between Record Struct and Class in C#?
Apr 08, 2026.
Unlock the secrets of C#! Learn the key differences between record struct and class for optimal performance and maintainability. Master data type selection!
How to Fix “Object Reference Not Set to an Instance of an Object” in C#?
Mar 31, 2026.
Master the dreaded 'Object reference not set' error in C#! Learn to identify, fix, and prevent NullReferenceExceptions with practical C# and ASP.NET Core examples.
What is Boxing and Unboxing in C#?
Mar 26, 2026.
Understand C#'s boxing and unboxing: converting between value and reference types. Learn how they impact performance and how to optimize your code for efficiency.
Nullable Reference Types in C# – Eliminating the Billion-Dollar Mistake
Mar 02, 2026.
C#'s Nullable Reference Types (NRT) combat the infamous "billion-dollar mistake" by catching null reference exceptions at compile time, boosting code reliability and maintainability.
How to Fix “Undefined Reference to main” Error in C
Feb 20, 2026.
Fix the "undefined reference to main" error in C! This guide provides a step-by-step solution to this common C compiler issue, covering causes and fixes. Perfect for beginners!
MongoDB Schema Design Best Practices for Real Applications
Jan 30, 2026.
Master MongoDB schema design! Learn embedding vs. referencing for optimal performance, scalability, and maintainability. Ace your interviews with real-world examples.
Reference Architecture for an AI Control Plane: The Technical Blueprint for Governed Agentic AI
Jan 16, 2026.
Architecting a secure AI control plane for governed agentic AI. This reference architecture ensures safety, auditability, and operability at scale. Learn the blueprint!
Building Production AI Agents with LLMs Using GSCP-15: A Technical Reference Architecture
Jan 16, 2026.
GSCP-15: A reference architecture for building reliable, scalable AI agents. Learn how to move beyond demos to production-ready systems with contracts, state, and verification.
Server Error in ‘/’ Application – Object Reference Not Set to an Instance of an Object
Jan 16, 2026.
Troubleshoot the 'Object reference not set to an instance of an object' error in ASP.NET. Learn to identify the cause using stack traces and implement safe, defensive coding practices with null checks to prevent runtime errors.
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.
Autonomous AI in Enterprise: Reference Architecture, Protocols, and Implementation Blueprint
Jan 03, 2026.
Build safe, scalable autonomous AI in the enterprise! This article provides a technical reference architecture, implementation blueprint, & key protocols.
C# 14 Null-Conditional Assignment: Practical Examples and Best Practices
Dec 28, 2025.
Master C# 14's null-conditional assignment (?.=) for cleaner, safer code! Learn practical examples, best practices, and when to use (or avoid) this powerful feature. Prevent NullReferenceExceptions and improve readability.
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.
Value Types and Reference Types in C#
Dec 28, 2025.
Unlock C# mastery! This guide clarifies value vs. reference types, impacting memory, performance, and bug prevention. Essential for efficient .NET development.
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#!
How Do I Fix “Object Reference Not Set to an Instance of an Object” in C#?
Dec 03, 2025.
Learn simple, clear, and practical ways to fix the common C# error "Object reference not set to an instance of an object." Understand why it happens, how to identify the root cause, and how to prevent it using real-world examples.
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.
Understanding Template Reference Variables, ViewChild, and DOM Manipulation in Angular
Nov 25, 2025.
Unlock Angular DOM manipulation! Master Template Reference Variables, ViewChild, and Renderer2 for direct element access and enhanced component interaction. Build robust apps!
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!
CSHTML (Razor) Cheat Sheet — Quick Reference for ASP.NET Core
Nov 21, 2025.
Quickly master ASP.NET Core Razor syntax with this handy cheat sheet! Covers data binding, tag helpers, loops, forms, partials, layouts, and more for efficient development.
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 Garbage Collection, Cyclic References, and Memory Management in C#
Oct 27, 2025.
Master C# memory management! Explore garbage collection, cyclic references, weak references, and IDisposable for efficient, leak-free .NET applications.
Understanding Garbage Collection, Cyclic References, and Memory Management in C#
Oct 27, 2025.
Master C# memory management! Explore garbage collection, cyclic references, weak references, and the IDisposable pattern for efficient, leak-free .NET apps.
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.
Secure Configuration for Azure Functions Using Azure Key Vault References
Oct 18, 2025.
Eliminate hardcoded secrets in Azure Functions using Azure Key Vault references for enhanced security and compliance. This guide demonstrates a real-world smart grid anomaly detection scenario, showcasing how to securely store and manage secrets like database passwords and API keys. Learn how to implement zero-trust secret management, enabling instant secret rotation without redeployment and ensuring full auditability. Protect your sensitive data and achieve compliance with industry standards.
🌡️ 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.
Best Ways to Handle Null Reference Exceptions in C#
Sep 23, 2025.
This article provides practical strategies to prevent and handle NREs effectively. Learn to use null checks, the null-conditional and coalescing operators, proper object initialization, and C# 8's nullable reference types. Write robust, error-free C# code and improve application stability by anticipating and safely managing null values.
Generative AI: AI-First Data Modeling for Financial Services: From Reference Models to Intelligent Data Products
Aug 31, 2025.
Evolve financial data models for AI! Learn how to transform reference models into governed data products powering real-time analytics, ML, and LLM workflows.
From Stack to Span<T> — A Recap into C#’s Memory
Aug 18, 2025.
Explore C# memory management, from stack vs heap to structs and contiguous memory. Learn how Span<T> enables efficient slicing without allocations, optimizing performance and reducing GC overhead in modern .NET apps.
What is the EU MiCA regulation?
Aug 14, 2025.
An in-depth exploration of the European Union’s Markets in Crypto-Assets Regulation (MiCA), detailing its purpose, scope, timeline, key provisions, impacts on issuers and service providers, and emerging challenges—such as stablecoin loopholes and regulatory fragmentation.
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.
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.
How Does Python Manage Memory?
Aug 08, 2025.
Dive into the internal memory management system of Python. Understand how Python allocates, tracks, and frees memory using techniques like reference counting, garbage collection, and memory pools.
Difference between Class and Structure in C#
Aug 06, 2025.
An in-depth look at the differences between classes and structs in C#, explaining their memory behavior, inheritance abilities, performance implications, when to use each, and real-world code examples to highlight best practices.
What are Value Types vs Reference Types in C#?
Jul 31, 2025.
Learn the difference between value types and reference types in C#. This complete guide breaks down memory allocation, performance, behavior, and code examples to help you master both.
React Rendering Demystified: Reconciliation, Batching & Memoization
Jun 27, 2025.
Learn how React optimizes performance through batching, reconciliation, and memoization using React.memo, useMemo, and useCallback key tools to reduce re-renders and build fast, efficient apps.
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
Understanding Garbage Collection and Cyclic References in C#
May 20, 2025.
This article explores .NET memory management, focusing on how the garbage collector handles cyclic references, and how weak references and the `IDisposable` pattern help prevent memory leaks in C# applications.
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.
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.
Difference Between Compilation and Runtime Errors in .NET
Apr 08, 2025.
In .NET development, errors occur at compile time or runtime. Understanding and handling compilation errors like syntax issues and runtime errors like exceptions ensures stable and reliable applications.
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.
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
Understand the Concept of Shallow Copy and Deep Copy in C#
Jan 06, 2025.
Learn the difference between shallow and deep copying in C#. Explore their behavior, implementation, and use cases with practical code examples, helping you make informed decisions for object duplication scenarios.
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.
Null Coalescing vs Null Conditional in Clean Code
Dec 24, 2024.
In this article, I will demonstrate Null Coalescing (??) and Null Conditional (?.). It is a common challenge in programming, but modern languages like C# offer elegant solutions. The null coalescing operator (??) and the null conditional operator (?.) are distinct yet complementary tools for writing clean and safe code.
C# Foundation - Nullable Types
Nov 28, 2024.
This article covers the basics, syntax, and practical use cases of nullable types, enabling you to write safer, more reliable code by avoiding null reference errors effectively.
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.
How to Create and Use Key Vault References in .NET Core Web API
Oct 28, 2024.
Azure App Configuration allows your application to use Key Vault references by creating keys that point to values stored in Key Vault. Rather than storing sensitive data directly, App Configuration uses URIs that reference Key Vault values, ensuring security and flexibility.
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 Attributes and Metadata in C# 12
Oct 20, 2024.
Ziggy Rafiq demonstrates how to use attributes and metadata in C# 12 including improvements in parameter types, reflection capabilities, and best practices for maintaining self-documenting code.
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.
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.
T-SQL Script for Purging Tables with Foreign Key References
Aug 02, 2024.
This article provides a comprehensive T-SQL script for purging tables in SQL Server, including those with foreign key references, ensuring data integrity and correct order of operations. Ideal for SQL Developers, Data Engineers, and DBAs seeking efficient data management solutions.
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.
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.
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.
Understanding ToString() vs Convert.ToString() in C#
May 23, 2024.
In C#, both ToString() and Convert.ToString() are used to convert objects to their string representation. However, they have different usages and behavior. Understanding the differences between these two methods can help you choose the right one for your needs.
Boxing and Unboxing in .NET C#
May 14, 2024.
In C#, boxing and unpacking are crucial ideas. Value types (int, char, etc.), Reference types (object), and Pointer types are the three forms of data in the C# type system. In essence, Unboxing does the opposite of Boxing, which transforms a Value Type variable into a Reference Type variable.
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.
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.
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.
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.
Solid Principle in C# : A Quick Reference with Example
Mar 24, 2024.
These principles guide object-oriented design for more understandable, flexible, and maintainable software. The Single Responsibility Principle suggests a class should have only one reason to change, such as a User class handling user properties but not user persistence.
Auto-Populate Azure Pipeline Variables and Connections
Mar 11, 2024.
In this article we will discuss how deployment settings file can be used to auto-populate environment variables and connection references in target environment.
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.
A Comprehensive Guide to Nullable Reference Types in C# 10
Mar 07, 2024.
Explore a comprehensive guide to leveraging nullable reference types in C# 10 by Ziggy Rafiq, providing detailed explanations, code examples, and best practices for improving code safety and robustness. Learn how nullable reference types enable developers to catch null-related bugs at compile time, reducing the likelihood of runtime errors and enhancing code quality.
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.
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.
Null Handling in C# Using Null-Conditional and Coalescing Operators
Jan 25, 2024.
In C# programming, null handling is a critical consideration for robust and error-resistant code. This brief guide introduces two powerful operators, the null-conditional operator (?.) and the null-coalescing operator (??), designed to streamline null-related challenges.
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.
Exploring Default Lambda Parameters in C# 12
Jan 01, 2024.
Default Lambda Parameters in C# 12.
Table(s): Temp Table, Table Variable and CTE (Common Table Expression)
Dec 26, 2023.
This article will discuss SQL Table like items, including temp table, table variable, CTE, Table-valued Parameters.
Clean Code : Avoid Too Many Parameters In Method
Dec 18, 2023.
In this article I will demonstrate code clean up by passing less number of parameters in method. One common challenge developers face is the Excessive parameters in their methods. Excessive parameters in methods can lead to code that is hard to understand, less readability, and challenging to maintain.
Value Types vs Reference Types in C#
Nov 18, 2023.
This comprehensive guide delves into the fundamental concepts of C# data types, distinguishing between value types and reference types. Covering characteristics, pros and cons, key differences, and best practices, it offers insightful recommendations for optimal programming.