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]
Sandhiya Priya(5)
Naveen Kumar(2)
Vijay Prativadi(2)
Jay Krishna Reddy (1)
Onkar Sharma(1)
Dheeraj Gaur(1)
Konstantin Triger(1)
Naresh Beniwal(1)
Gnanavel Sekar(1)
Rahul Kumar Saxena(1)
Vinod Kumar(1)
Rohatash Kumar(1)
anand palanichamy(1)
Karthikeyan Anbarasan(1)
Tanuj (1)
Sangeetha S(1)
Chittaranjan Swain(1)
Arunava Bhattacharjee(1)
Mukesh Nayak(1)
Ravi Panara(1)
Resources
No resource found
Counting Subsets With Products of Distinct Primes (Dynamic Programming + Bitmask)
Jul 31, 2026.
Solve subset product problems with distinct primes using Bitmask DP. Efficiently handles values up to 30 by mapping primes to bits.
Count Distinct Elements in Every Window
Apr 27, 2026.
Master the sliding window technique! Learn how to efficiently count distinct elements in every window of an array using a HashMap. Java solution and complexity analysis included.
Subarrays With At Most K Distinct Integers
Apr 27, 2026.
A detailed guide to solving the Subarrays With At Most K Distinct Integers problem using the sliding window technique. Learn the intuition, step-by-step approach, dry run examples, and optimized Java implementation with O(n) time complexity. Perfect for coding interviews and mastering array-based problems.
Substrings With Exactly K Distinct Characters
Apr 27, 2026.
Learn how to efficiently solve the Substrings With Exactly K Distinct Characters problem using the sliding window technique. This guide explains the key insight of converting the problem into “at most K” subproblems, includes step-by-step intuition, dry run examples, and an optimized Java solution with O(n) time complexity and constant space.
Be Careful Using Distinct and OrderBy in EF Core Queries
Feb 03, 2025.
Combining Distinct() and OrderBy() in EF Core queries can lead to performance issues. This article explains why and offers solutions for efficient data retrieval.
IS [NOT] DISTINCT FROM New T-SQL Enhancements in SQL Server
Oct 04, 2024.
The "IS [NOT] DISTINCT FROM" operator is one of the key new T-SQL enhancements in SQL Server 2023. It simplifies SQL queries by handling NULL comparisons more efficiently, improving data integrity and performance.
How To Get Unique Records Without Using Distinct In SQL Server
Sep 26, 2024.
In this guide, you'll learn how to retrieve unique records in SQL Server without using the DISTINCT keyword. We'll explore alternative methods like GROUP BY, ROW_NUMBER(), and Common Table Expressions (CTE) to optimize performance and handle duplicates more efficiently in your queries.
Get Status Based Distinct Count Of SharePoint List Items In Power Automate
Mar 30, 2022.
In this article, you will learn how to get Distinct SharePoint List items count based upon the status from Power Automate and Email the summary to user.
EF Core - SELECT DISTINCT on a Few Columns Only
Apr 26, 2020.
In this article, you will learn about implementing EF Core - SELECT DISTINCT on selected columns only.
SQL Magic: How to Use Select Distinct in SQL to Get Unique Results Every Time
Oct 30, 2019.
Learn about the SQL SELECT DISTINCT statement and its uses for retrieving unique data in SQL. Get expert insights on how to implement select distinct SQL queries
Use Of Union, Intersect, Distinct And Except In LINQ
Sep 01, 2017.
Here, you will learn the uses of Union, Intersect, Except, and their differences, To get a clear picture, we will go with examples.
Insert Distinct Column Value From One Table to Another Table in SQL
Jul 09, 2015.
This article explains how to insert a distinct column value from one SQL Server table to another SQL Server table and avoid duplicacy.
MySQL DISTINCT Operator in PHP
Apr 04, 2013.
In this article I will explain MySQL DISTINCT operator in PHP.
Count All vs Count Distinct in SQL Server
Nov 30, 2012.
In this article, you will see the SQL aggregate function count in two forms, Count All and Count Distinct.
Pull Distinct Data Using LINQ-to-XML
Nov 06, 2012.
Today, in this article let’s play around with one of the interesting and most useful concepts in XML.
How to: Select distinct values from Dataset
Jun 07, 2010.
In this article you will see how to get the distinct values from the Dataset.
Distinct and Reverse Operations Using LINQ
Nov 05, 2012.
Today, in this article let's play around with the most useful operations Distinct and Reverse in LINQ.
SQL Server Integration Services (SSIS) - Aggregate (COUNT DISTINCT) Transformations Control in SSIS
Apr 14, 2011.
In this article we are going to see how to use an Aggregate (COUNT DISTINCT) data flow transformation control in SSIS packaging.
Maximum Sum Path in Two Sorted Arrays (Java)
Jul 06, 2026.
Find the maximum sum path in two sorted arrays with distinct integers, allowing switches at common elements.
How to Remove Duplicate Values from a List in C#
Feb 26, 2026.
Learn how to efficiently remove duplicate values from lists in C# using Distinct() and HashSet. Improve data processing and performance in your applications.
Data View and LINQ in C# and VB.NET
Jul 07, 2025.
Learn how to fetch unique values from a DataTable using DataView and LINQ in C# and VB.NET. Explore sorting, filtering, and displaying distinct book records with examples compatible with .NET Core and .NET 9.
Exploring the New T-SQL Enhancements in SQL Server 2022
Oct 31, 2024.
In this article we will explore the powerful new T-SQL enhancements in SQL Server 2022, including features like DATE_BUCKET, DATETRUNC, and IS DISTINCT FROM, designed to simplify data handling and optimize performance for modern data needs.
Delete Duplicate Rows In SQL Server From A Table
Dec 21, 2020.
In SQL Server, delete duplicate rows from a table efficiently using techniques like DISTINCT, GROUP BY, or ROW_NUMBER(). Ensure data integrity by considering primary keys or unique constraints.
How Distint Method is Used by the Framework
Aug 27, 2014.
Distinct()/Contains() is not working properly?See how collection operation depends on Equals() implementation
LinQ Operation
Apr 21, 2014.
Hi everybody, here in this article I want to raise a few basic things regarding the Distinct() extension method in “System.Linq” and we will explain how to customize our Distinct() method using IEqualityComparer.
Linq queries for beginners
Dec 02, 2010.
Following are some of the basic Linq command/samples for those who just want to start learning Linq.