Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
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]
Jignesh Kumar(11)
Vijay Kumari(5)
Sandeep Singh Shekhawat(3)
Sachin Kalia(2)
Lajapathy Arun(2)
Ashish Shukla(2)
Sateesh Arveti(2)
Ziggy Rafiq(2)
Mohammad Hasan Hosseini(2)
Sangeetha S(2)
Kirtesh Shah(2)
Praveen Raveendran Pillai(2)
Jalpa Dhola(2)
Rikam Palkar(1)
Faisal Pathan(1)
Gnanavel Sekar(1)
Mukesh Kumar(1)
Sourav Kayal(1)
Devesh Omar(1)
Santhosh Kumar Jayaraman(1)
Jaganathan Bantheswaran(1)
Jean Paul(1)
Allani Saikumar(1)
Jitendra Mesavaniya(1)
George (1)
Amit Mohanty(1)
Rafnas T P(1)
Hannan Kamran(1)
Surya Prakash Pandey(1)
Rion Williams(1)
Ehsan Sajjad(1)
Bruno Leonardo Michels(1)
satish suthar(1)
Harpreet Singh(1)
Rahul Singh(1)
Michal Habalcik(1)
Marcus Santodonato(1)
Surender Kumar(1)
Sourabh Mishra(1)
Mahesh Chand(1)
Gautam Mokal(1)
Vishwakant Tripathi(1)
Sukesh Marla(1)
Pragati (1)
Akkiraju Ivaturi(1)
Rishi Mishra(1)
Manish Singh(1)
Vipul Kelkar(1)
Reeta Singh Lodhi(1)
Mukesh Kumar(1)
Biswa Pujarini Mohapatra(1)
Felipe Ramos(1)
C# Curator(1)
Moustafa Arafa(1)
Phil Curnow(1)
Abhishek Yadav(1)
Divyansh Gupta(1)
Ashish Bhatnagar(1)
John Godel(1)
Saurabh Prajapati(1)
Sagar Rane(1)
Mohamed Azarudeen Z(1)
Sanjay Kumar(1)
Muhammad Imran Ansari(1)
Harsh Sharma(1)
Aakash Chhillar(1)
Subarta Ray(1)
Deepak Tewatia(1)
Rajiv Singh(1)
Shantha Kumar T(1)
Jaimin Shethiya(1)
Sean Franklin(1)
Varun Setia(1)
Federico Di marco(1)
Resources
No resource found
Creating An Extension Method To Get Enum Description
Mar 30, 2022.
This article will take you down the rabbit hole to understand the extension methods in C#.
Real-Time Example Of Extension Method In C#
Jan 24, 2020.
This article demonstrate how to create extension method for long type and it can be used across all your classes within your project.
Generic Extension Method To Map Objects From One Type To Another
Jan 28, 2019.
In this article, we will learn about Generic Extension method to map objects from one type to another.
Custom Extension Method In C#
Aug 23, 2017.
In C#, extension methods are a powerful feature that allows you to add new methods to existing classes without modifying their source code. A custom extension method in C# is a user-defined method that is added to an existing class or interface using the this keyword as the first parameter of the method. This enables you to invoke the extension method on instances of the target class or interface as if it were a native method.
How To Use Extension Method In C#
Nov 26, 2015.
In this article you will learn how to use Extension Method in C#.
Extend Sealed Class in C# Using Extension Method - A Simple Approach
Aug 11, 2015.
In this article you will learn how to extend a sealed class in C# using an extension method.
Understand Extension Method in C#
May 17, 2014.
This article explains extension methods of C#. The extension method is a modified version/slightly changed version of a static method.
Create And Use An Extension Method In C#
May 05, 2014.
In this article, learn how to create a extension method in C# and why we need extension methods.
Create HTML Helpers Extension Method to Get Id and Name in jQuery Function
Oct 03, 2013.
This article introduces two extension methods of the HtmlHelper class, one that obtains the Id in a jQuery function and another obtains the Name in a jQuery function.
Custom Extension Method to Compare List in C#
May 24, 2012.
In this article, we will see how to create a custom extension method to compare 2 lists in C#.
PIN Extension Method Using C#
Jun 07, 2011.
An extension method is a special kind of static method that allows you to add new methods to existing types without creating derived types. PIN stands for the three extension methods PreviousItem, IndexOfCurrentItem and NextItem.
ToLookup Extension Method explained
May 28, 2011.
The ToLookup() method can be used to quickly create lookup items based on different conditions.
Data Pagination with Extension Methods in C#
May 20, 2024.
Pagination is a common technique used to manage and display data in chunks. This article discusses implementing pagination in C# using extension methods, which allow adding new functionality to existing types without modifying their source code, making data handling clean and reusable.
What is Extension Methods in C#?
Mar 26, 2024.
This article delves into the concept of extension methods in C#, exploring their syntax, benefits, and best practices through practical examples. It offers a means to extend existing types without altering their original implementation, enabling developers to augment functionality.
Exploring .NET 6's MinBy() and MaxBy() Extension Methods
Mar 22, 2024.
In this article, I will demonstrate the exciting new additions to LINQ extension methods introduced in.NET 6: MinBy() and MaxBy(). Let's explore how these powerful methods simplify code, providing efficient solutions for selecting extreme values within a generic sequence.
Extending List Functionality with C# Extension Methods
Jan 22, 2024.
In this article, I will demonstrate How to create an extension method in c# for List type. I will explain how we can extend the functionality of List without a new derived class. I will create extension methods for list type will help us use across project without creating new class.
Extension Method in C#
Dec 27, 2023.
Extension Methods in .NET, a powerful feature introduced in .NET Framework 3.0. Learn how to seamlessly add or extend methods to existing types, enriching your coding experience. ??
Simplify Your Code with C# 12 Extension Methods
Apr 26, 2023.
C# 12's New Extension Method Features: Simplifying Your Code and Making It More Modular
Learn About Extension Methods In C#
Dec 26, 2019.
In this article I am explaining about how we can extend the existing methods.
LINQ Extension Methods - Partitioning Operator - Part Four
Aug 16, 2018.
This article is continuation of Linq extension methods. In this article I am going to demostrate partitionaning operators like skip, skipWhile, take and TakeWhile.
LINQ Extension Methods - Element Operator And Set Operator - Part Three
Aug 14, 2018.
In this article, we are going to explore another two operators like element operator and set operators. Element operators are used to returning the particular element from the collection and set operators like distinct, excepts, Intersect and union which are used to get the unique element or all element from a single collection or multiple collections based on specific condition or based on our requirement.
LINQ Extension Methods Quantifier And Aggregation Operator - Part Two
Aug 08, 2018.
This article is continuation of Linq extension methods. If you want to read first part please click here Part One. In this article I will demonstrate quantifier operator and aggregation operators.
LINQ Extension Methods - Part One
Aug 05, 2018.
This article explains linq extension methods like filtering, grouping and sorting and projection orators
Learn About Extension Methods In TypeScript
May 17, 2018.
Extension-method gives you the power to add new methods to existing types. You don’t have to create a new derived-type. You can write extension-method of any data-type you want. It’s just like writing a simple function of a specific class. These are static methods. We can extend any class or interface to write our own extension-method but remember, we cannot override the existing ones. Even if we have the same name and signature of our own extension-method as of the existing one, then our method cannot be called in any case. So, make sure that whenever you write your extension-method, name and signature should differ from the existing ones.
Extension Method In C#
May 23, 2017.
Extension Method In C#. Extension method is a special kind of static method which we can access throughout or outside of a program. Extension method helps us to extend the class with new methods without any changes in base type or class. We can create new methods in the dll library class also without changing the old code though extension method.
Handling Casing Issues Though Extension Methods In C# And Visual Basic
Nov 06, 2015.
In this article you will learn how to handle casing issues though Extension Methods in C# and Visual Basic.
Extension Methods in C#
Jul 13, 2015.
In this article you will learn Extension Methods feature in C# with simple example.
Frequently Used String Extension Methods in C#
Jun 02, 2015.
This article has a small collection of string extension methods for use in daily development.
What Are Extension Methods and How to Use Them
May 25, 2015.
This article describes extension methods and explains how and when to use them.
Extension Methods in C#
Apr 14, 2015.
This article explains extension methods of C#.
Extension Method in C#
Feb 17, 2015.
In this article, we will learn what extension methods are and how to create and implement your own extension method.
Extension Methods in C#
Dec 26, 2014.
In this article you will learn about Extension Methods in C#.
Extend the C# Types Easily With Extension Methods
Dec 12, 2014.
Easily extend C# types using extension methods for enhanced functionality without modifying the original type. Improve code readability and reusability by adding custom methods to existing types, fostering a fluent and intuitive coding experience."
Facts About Extension Methods in C# With Practices
Sep 18, 2014.
In this article you will learn Extension Methods in C# with Practices.
Extending the Behavior of an Interface Using Contravariance, Generic Typing and Extension Methods
Aug 05, 2014.
In this article, I demonstrate how to take this approach a step further by using contravariance and generic typing to extend a public interface.
Extension Methods in C# 3.0
Jul 02, 2014.
This article explains Extension methods, a new existing feature of C# 3.0.
Extension Methods In C#
Feb 17, 2014.
This article explains Extension methods. Extension methods are static methods, that are always implemented in a static class. In C# we already have some built-in extension methods like Union, Where and Zip.
Extension Methods in C# Simplified
Dec 22, 2013.
In this article, you will learn the basics of extension methods in C# and why and how to use them.
Extension Methods in C#
Dec 13, 2013.
In this article, I will try to explain what an Extension Method is and in which scenario it is used.
How To Use Extension Methods In C#
Aug 08, 2013.
This article explains use of Extension Methods in C# to increase the functionality of a type (class).
Extension Method In C#
Jun 15, 2013.
Extension Methods are a new feature in C# 3.0. An Extension Method enables us to add methods to existing types without creating a new derived type, recompiling, or modify the original types.
Creating Extension Methods in ASP.NET
Sep 26, 2012.
In this article we will create some extension methods for an ASP.Net application.
Overview of Extension Methods in C#
Sep 21, 2012.
This article is an overview of Extension Methods in C#.
C# Extension Methods: Explained
Aug 06, 2012.
The intention of the article is to give an idea of what extension methods are and their benefits.
Practical Usage of Complete Extension Methods in LINQ
Apr 18, 2012.
In this article we are going to see the complete usage of extension methods in LINQ with the help of a Lambda expression.
Frequently Used Extension Methods in LINQ
Apr 15, 2012.
In this article we are going to see the frequently used extension methods in LINQ with the help of Lambda expressions.
Extension Methods In .NET
Feb 06, 2012.
To put it in a simple manner, Extension Methods have been introduced in the .NET 3.5 framework to add methods to a class without altering the code of that class.
Extension Method in C#
Nov 16, 2011.
In this article we will define the Extension Method and perform the sum arithmetic operation in C#.
Extension Methods in C#
Oct 17, 2011.
.NET framework comes with a set of inbuilt classes and types which we use extensively in our applications. Integer, string, float etc are some of these which are very frequently used.
Extension Methods in .NET
Jul 21, 2011.
In this article we will see what extension methods are, why we need them and how to create them.
Extension Methods in C#
Feb 11, 2011.
Extension methods make it possible to write a method to a class that doesn't offer the method at first. You can also add a method to any class that implements a specific interface, so multiple class can make use of the same implementation.
What are Extension Methods and how to implement them
Dec 14, 2010.
In this article you will learn what are Extension Methods and how to implement Extension Methods.
C# Extension Methods
Sep 06, 2010.
In this article you will learn how to use Extension Methods in C#.
Extension Methods for Daily Use
Sep 01, 2010.
Extension Methods allows the programmer to extend the functionality of a type without having to derive from the type.
Introduction to LINQ, Extension methods and Lambda Expressions
Oct 18, 2009.
This article is an introduction of LINQ, Extension methods and Lambda Expressions. In my following articles, I will delve into more details.
Extension Method in C#. Everything You Need To Learn
Aug 31, 2009.
This article explains Extension Methods in C#. Extension methods enable you to add methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type.
Extension Methods in C#
Mar 17, 2009.
In this article I would like to introduce one of new C# 3.0 enhancements “Extension Methods” and so on.
Secrets of Extension Methods: Part II
Dec 23, 2008.
This article explains how Extension Methods are used in LINQ.
Secrets of Extension Methods: Part I
Dec 22, 2008.
This article gives an introduction to Extension Methods.
Extension methods under .NET Framework v2 and v3
Mar 31, 2008.
This artilce tells you how to implement extension methods when using the .NET Framework v2 or v3 within Visual Studio 2008.
Creating a Basic Node.js REST API (GET, POST, PUT, DELETE)
Jul 09, 2025.
Learn how to build a simple RESTful API using Node.js and Express. This tutorial covers CRUD operations (GET, POST, PUT, DELETE), JSON handling, and running a local server with in-memory data storage.
Mastering LINQ in C#
Jun 25, 2025.
Language Integrated Query (LINQ) is a game-changer in C#. It brings SQL-like data querying capabilities directly into your C# code, making data manipulation more intuitive, type-safe, and readable.
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.
FirstOrDefault vs. SingleOrDefault in LINQ: Key Differences and Use Cases
Jun 16, 2025.
In this article, we'll dive into the key differences between FirstOrDefault and SingleOrDefault, examining their behaviours, ideal use cases, and guidance on when to use each one. By the end, you'll gain a better understanding of how to utilize these methods to optimize data queries in your C# applications.
Mastering the Factory Pattern in C# 13: Best Practices with Real-World Examples
Jun 08, 2025.
With this best practices guide by Ziggy Rafiq, you will learn Factory Pattern in C# 13 with clean architecture, DI, and testable design.
Building a School Administration Solution with C# 14 and .NET 9
May 01, 2025.
Build a scalable School Administration System using C# 14 and .NET 9. Leverage features like primary constructors, minimal APIs, and performance optimizations to manage student info, attendance, grades, schedules, and more.
Splitting Of Datasets in Machine Learning
Apr 23, 2025.
Splitting datasets is vital in machine learning to test model accuracy on unseen data. Common methods include train-test split, k-fold cross-validation, stratified k-fold, and time series split.
Implement idempotent APIs in ASP.NET Core
Mar 27, 2025.
Idempotent APIs ensure repeated requests yield the same outcome, preventing duplicate operations. This article explores idempotency in HTTP methods, real-world examples, and implementation techniques for robust and reliable web services.
How to Split a List into Batches Using the Chunk Method in C#
Mar 24, 2025.
Learn how to efficiently split a list into smaller batches using the Chunk method in C# This method, introduced in .NET 6, simplifies list processing by breaking large collections into manageable chunks.
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.
High Performance of LoggerMessage in Microsoft.Extensions.Logging
Mar 08, 2025.
LoggerMessage in Microsoft.Extensions.Logging provides high-performance logging by reducing memory allocations and improving efficiency. Unlike traditional logging methods, it uses precompiled delegates to format log messages, making it faster.
Most Used GlideRecord Methods in ServiceNow
Feb 27, 2025.
GlideRecord is a powerful ServiceNow API used to interact with database tables. This article explores the most commonly used GlideRecord methods, helping developers query, retrieve, update, and manipulate records efficiently.
AJAX Calls in Web forms ASPX VB .NET Code
Feb 21, 2025.
Learn how to call an AJAX function in ASP.NET Web Forms using WebMethod. This article covers client-side AJAX requests and server-side processing to enable seamless communication in a .NET Framework 4.7.2 application.
Detailed Explanation of Use of Private Class vs Private Method
Feb 19, 2025.
A private class and a private method serve different purposes in object-oriented programming. A private class is restricted to its containing class, ensuring encapsulation, while a private method is used within a class to perform internal operations.
Various Methods to Count Occurrences of Each Number in Array or List
Feb 17, 2025.
In this article, I'll show you different ways to count how often a number appears in C#. We'll look at methods like LINQ, Dictionary, GroupBy, and Parallel.ForEach, and see which ones work best for small and large datasets.
List Azure Backup Jobs Using C# Async Method
Feb 08, 2025.
Azure Backup is a secure, scalable service for protecting VMs, databases, and on-premises data. It automates backups, ensures compliance, supports Geo-Redundant Storage (GRS), and enables recovery via the Azure SDK for .NET or PowerShell.
Shared Function Use Cases in VB .NET
Jan 31, 2025.
Explore the use cases of Shared Functions in VB.NET. Learn how to implement static methods to improve code efficiency, optimize performance, and handle utility tasks.
Swap First and Last Rows in a Matrix Using Java with Code
Jan 28, 2025.
Learn how to interchange the first and last rows of a matrix in Java using simple loops or efficient methods like `System.arraycopy()`, complete with examples, explanations, and practical tips.
Using C# 13's Method Overloading and Method Overriding
Jan 23, 2025.
With practical examples, key differences, and tips for mastering these core OOP concepts, Ziggy Rafiq explores Method Overloading and Method Overriding in C# 13.
Copying All Elements of One Array to Another Array in Java with Code
Jan 21, 2025.
Learn how to copy arrays in Java using user input, iterative methods, and `System.arraycopy()`. This article demonstrates seamless duplication of entire arrays and subsets with practical examples.
Print Fibonacci Series in Java Using Different Methods
Jan 17, 2025.
This article explores four methods to generate the Fibonacci series in Java: iteration, recursion, dynamic programming (memoization), and Java streams, offering optimized, modern, and functional approaches for various scenarios.
What is Factory Method Design Pattern?
Jan 06, 2025.
Learn how to build an AI-powered birthday party planner using Copilot Studio and Microsoft OpenAI. Streamline theme selection, product management, and logistics with intelligent automation for efficient and creative event planning.
3 Easy Ways to Find the Missing Number in an Array in Java
Jan 03, 2025.
The article "3 Easy Ways to Find the Missing Number in an Array in Java" explains how to efficiently find the missing number in an array of numbers ranging from 1 to n. It presents three straightforward methods to solve the problem.
Display Current Date & Time Using Java With Code
Jan 01, 2025.
Learn how to display and format the current date and time in Java using `LocalDate`, `LocalTime`, `LocalDateTime`, `ZonedDateTime`, and `DateTimeFormatter` from the `java.time` package with practical examples.
Implementation of String Manipulation in C# 9.0
Dec 29, 2024.
Explore various string manipulation techniques in C# 9.0, including concatenation, searching, replacing, and more. Learn how to leverage these methods to write cleaner and more efficient code.
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.
Understanding Parallel.For Method in c#
Dec 23, 2024.
Parallel.For in C# allows executing loops in parallel, improving performance by utilizing multiple processors or cores. It enhances scalability but introduces overhead and requires thread safety for shared resources.
Printing "Hello, World!" in Java: Different Techniques and Examples
Dec 20, 2024.
This article explores various methods to print "Hello, World!" in Java, introducing beginners to Java's syntax and structure. Examples include basic output, methods, string variables, and StringBuilder for dynamic messages.
How To Remove Duplicate Characters From String In C#
Dec 18, 2024.
Learn how to remove duplicate characters from a string in C# with simple and effective methods. it will cover various approaches, including using loops, LINQ, and HashSet, to streamline string manipulation.
Triggering Topics in two ways in Copilot Studio
Dec 16, 2024.
This article explores automated and manual methods for managing topics effectively, enhancing workflows, and leveraging AI-driven capabilities. Master topic configuration and streamline your content creation process with ease.
Unit Testing in .NET Core with xUnit
Dec 16, 2024.
One of the main aspects of software testing that a developer can manage themselves is unit testing. It is employed to test your code's tiniest elements. Unit tests are used to verify that your code is functioning as intended or producing the desired results as you develop it.
New LINQ Methods in .NET 9: Index, CountBy, and AggregateBy
Dec 11, 2024.
In this article, I will showcase the new methods: Index, CountBy, and AggregateBy. These powerful additions in .NET 9 bring significant enhancements to LINQ, aimed at improving your coding experience and simplifying data manipulation tasks.
How to Reverse Order of the Given String
Dec 08, 2024.
Discover simple methods using popular programming languages like JavaScript, Python, or Java. Understand string manipulation concepts and implement effective solutions for reversing text with code examples and explanations.
Limit Concurrent Execution in Asynchronous Methods
Nov 22, 2024.
In this article, we will learn how to finely control how many concurrent executions we will allow of our async methods, without blocking, using a semaphore.
.NET 9 CountBy: A New LINQ Powerhouse
Nov 20, 2024.
.NET 9 introduces the CountBy method, a powerful addition to LINQ that enhances querying capabilities. This feature allows developers to count elements based on specified conditions efficiently.
.NET 9 : Task.WhenEach
Nov 18, 2024.
In .NET 9, the new Task.WhenEach method enhances asynchronous programming by processing tasks as they complete, allowing for more efficient handling of varying completion times. Happy coding!
Using New Generative AI Unified Approach by Microsoft
Nov 16, 2024.
In this article, we will learn about the Microsoft.Extensions.AI package that is intended to unify and standardize generative AI in .NET
How to Create a ListView Command Set Extension
Nov 12, 2024.
A ListView Command Set extension in SharePoint customizes the command bar or context menu of lists/libraries. It allows adding buttons that trigger custom actions, such as displaying alerts, showing selected items, or integrating with external systems.
How to Create Field Customizer Extension
Nov 11, 2024.
Extensions are client-side components that run inside the context of a SharePoint page. Extensions can be deployed to SharePoint Online, and you can use modern JavaScript tools and libraries to build them.
Fededim.Extensions.Configuration.Protected.DataProtectionAPI: The Ultimate Integration between ASP.NET Configuration and Data Protection API
Nov 05, 2024.
Fededim.Extensions.Configuration.Protected is an improved ConfigurationBuilder which allows partial or full encryption of configuration values stored inside any possible ConfigurationSource and fully integrated in the ASP.NET Core architecture.