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(19)
Saurav Kumar(12)
Aarav Patel(7)
Ananya Desai(7)
Tanuj (7)
Darshan Adakane(7)
Riya Patel(5)
Nabaraj Ghimire(4)
Niharika Gupta(3)
Nidhi Sharma(2)
Subash S(2)
Deepika Sawant(2)
Nagaraj M(2)
Jignesh Trivedi(2)
Sardar Mudassar Ali Khan (2)
Suraj Vishwakarma(1)
subramanya m(1)
Pushpendra Shukla(1)
Prathamesh Dhopare(1)
Mahesh Chand(1)
Guest User(1)
Divyesh Chauhan(1)
Rijwan Ansari(1)
Cristopher Coronado(1)
Raghunath Bhukan(1)
Rikam Palkar(1)
Satya Karki(1)
Cynthia Sathuragiri(1)
Mohan Veer Singh(1)
Vijay Pratap Singh(1)
Aleksandr Khramogin(1)
Md Sarfaraj(1)
Resources
No resource found
Lexicographically Smallest String After Removing K Characters Using a Monotonic Stack
Jun 05, 2026.
Learn how to find the lexicographically smallest string after removing K characters using a monotonic stack in Java. Includes explanation, dry run, and optimized O(n) solution.
Palindrome Pairs in an Array of Strings – Java Solution with HashMap
Jun 05, 2026.
Learn how to solve the Palindrome Pairs problem using HashMap and palindrome prefix-suffix checking. Includes intuition, dry run, complexity analysis, and optimized Java code.
Candy Problem in Java – Greedy O(n) Time and O(1) Space Solution
Jun 05, 2026.
earn how to solve the Candy problem using an optimal greedy algorithm. Includes intuition, dry run, complexity analysis, and Java solution with O(n) time and O(1) space.
Expression Contains Redundant Bracket or Not – Java Stack Solution Explained
Jun 05, 2026.
Learn how to detect redundant brackets in an expression using a stack. Includes intuition, dry run, complexity analysis, and optimized Java O(n) solution.
Next Element With Greater Frequency – Java O(n) Stack Solution
Jun 05, 2026.
Learn how to solve the Next Element With Greater Frequency problem using HashMap and Monotonic Stack. Includes intuition, dry run, complexity analysis, and optimized Java solution.
Distributed Caching in ASP.NET Core Using Redis: Best Practices
Jun 05, 2026.
Learn how to implement distributed caching in ASP.NET Core using Redis. Explore caching strategies, Redis integration, and best practices for scalable applications.
Clean Architecture in .NET: Benefits, Challenges, and Implementation Guide
Jun 05, 2026.
Learn Clean Architecture in .NET with practical examples. Explore its benefits, challenges, implementation approach, and best practices for scalable applications.
Microservices Communication Patterns Every Developer Should Know
Jun 05, 2026.
Learn the most important microservices communication patterns including REST, gRPC, messaging, event-driven architecture, Saga, and API Gateway patterns.
Designing Scalable AI Systems – Architecture Patterns for Modern Applications
May 20, 2026.
Explore architecture patterns for scalable AI systems: microservices, RAG, AI gateways, event-driven architectures. Build robust AI applications for the future.
Scaling a Multi-Brand SaaS Platform Without Losing Your Mind: How We Built It
May 15, 2026.
Learn how to scale a multi-brand SaaS platform elegantly! Discover the hybrid architecture using registry, hexagonal, and plugin patterns for efficient growth.
Count of repeating character patterns in a string using MySQL
May 13, 2026.
Discover how to count repeating character patterns in strings using MySQL. This tutorial provides a step-by-step guide with code examples for text analysis and pattern recognition.
Design Patterns and How to Use Them in .NET 9 Applications
May 05, 2026.
Master .NET 9 design patterns! Learn Singleton, Factory, Repository, DI, Strategy, Observer, and Mediator. Build scalable, maintainable .NET applications.
What is Bulkhead Pattern in Microservices and How Does It Improve Resilience?
May 04, 2026.
Enhance microservices resilience with the Bulkhead Pattern! Isolate failures, improve stability, and ensure partial availability. A must-know for robust systems.
Smallest Window Containing ‘0’, ‘1’, and ‘2’
Apr 27, 2026.
Master the Sliding Window technique! This guide solves the 'Smallest Window Containing 0, 1, and 2' problem with clear explanations, examples, and Java code. Find the shortest substring efficiently!
Opposite Sign Pair Reduction
Apr 27, 2026.
Master the 'Opposite Sign Pair Reduction' problem! Learn how to efficiently reduce an array using a stack-based approach, simulating collisions. Includes Java code & complexity analysis.
Rotten Oranges Problem
Apr 27, 2026.
Solve the Rotten Oranges problem using multi-source BFS! Find the minimum time to rot all fresh oranges in a grid. Learn the BFS approach with Java code and complexity analysis.
Chocolates Pickup (Two Robots Problem)
Apr 27, 2026.
Solve the classic 'Chocolates Pickup' problem with 3D Dynamic Programming! Maximize chocolate collection by two robots moving simultaneously. Java solution included.
Partitions with Given Difference
Apr 27, 2026.
Solve partition problems by transforming them into subset sum problems! This DP approach efficiently counts subsets with a specific difference. Learn the key formula!
Stream First Non-Repeating Character
Apr 27, 2026.
Solve the streaming first non-repeating character problem using a queue and frequency array. Learn the algorithm, Java code, complexity, and key takeaways for interviews.
Max Sum Subarray of Size K
Apr 27, 2026.
Master the sliding window technique to find the maximum sum subarray of size K. This guide provides a clear explanation, Java code, and complexity analysis.
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.
Implementing Proper Theming in Power Apps Using OnStart (Beginner to Advanced Guide)
Apr 21, 2026.
This article explains how to implement a centralized theming approach in Power Apps using the App OnStart property. Instead of hardcoding styles, you’ll learn how to create reusable theme variables and apply them across your app for a consistent and maintainable UI. It also covers dynamic styling, hover effects, and best practices to build clean, scalable, and professional Power Apps applications.
Number of Ways to Arrive at Destination
Apr 22, 2026.
Master Dijkstra's Algorithm to find the shortest path and count unique routes to a destination in a weighted graph. Includes Java code and complexity analysis.
What is saga pattern in microservices and how does it handle transactions?
Apr 22, 2026.
Solving the Two Water Jug Problem in Java
Apr 21, 2026.
A complete guide to solving the Two Water Jug problem in Java. Learn how to calculate the minimum number of operations to measure a specific amount of water using two jugs, including code explanation, execution steps, and sample outputs.
Flip to Maximize 1s in an Array
Apr 21, 2026.
Learn how to solve the Flip to Maximize 1s problem in Java. This article explains step-by-step how to find the maximum number of 1s in a binary array after flipping at most one subarray, including code explanation, execution, and examples.
Check if a Number is a Power of Another Number in Java
Apr 21, 2026.
Learn how to determine if a number y is a power of another number x in Java. This article explains the step-by-step logic, edge cases, Java code implementation, and example outputs for the “Check for Power” problem.
Remove Spaces from a String (Java)
Apr 21, 2026.
Learn how to remove all spaces from a given string in Java while preserving the order of characters. This article explains a simple O(n) solution using StringBuilder, along with step-by-step logic and examples.
Toeplitz Matrix Check in Java
Apr 21, 2026.
Learn how to check whether a given matrix is a Toeplitz matrix in Java. This article explains the diagonal-constant property, step-by-step logic, code implementation, and examples with output for better understanding.
What is Sidecar Pattern in Microservices and How Does It Work?
Apr 20, 2026.
Explore the Sidecar Pattern for microservices! Learn how it offloads cross-cutting concerns like logging and security, boosting modularity and scalability. A must-know for cloud-native architectures.
Top 10 Mistakes Developers Make When Adopting AI
Apr 18, 2026.
Discover the top 10 mistakes developers make when using AI tools like ChatGPT and LLMs. Learn practical strategies, real-world examples, and expert insights to become an AI-native developer and build smarter, faster, and more reliable software.
What is Circuit Breaker Pattern and How to Implement It in Microservices?
Apr 17, 2026.
Learn the Circuit Breaker pattern for resilient microservices! Prevent cascading failures by stopping calls to failing services. Implement with Polly in .NET.
How to Implement CQRS Pattern in ASP.NET Core Web API
Apr 15, 2026.
Learn how to implement the CQRS pattern in ASP.NET Core Web API for cleaner, scalable, and maintainable applications. Step-by-step guide with MediatR and examples.
How to Use MediatR in .NET for Clean Architecture Implementation
Apr 15, 2026.
Learn how to implement Clean Architecture in .NET using MediatR! Decouple components, improve testability, and build scalable applications. Step-by-step guide included.
Getting Started with Kotlin: A Modern Programming Language for Developers
Apr 13, 2026.
Discover Kotlin, a modern language by JetBrains, ideal for Android, web, and server-side development. Concise, safe, and interoperable with Java. Boost your productivity!
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.
How to Implement Repository and Unit of Work with Entity Framework
Apr 09, 2026.
Implement Repository and Unit of Work patterns in ASP.NET Core with EF Core 10 for clean, testable, and maintainable data access. Improve architecture and performance.
How to Implement the Outbox Pattern in .NET for Microservices
Apr 09, 2026.
Ensure reliable message delivery in .NET microservices with the Outbox Pattern. Learn how to implement it using ASP.NET Core, EF Core, and background services for data consistency.
How to Implement Thread-Safe Singleton Design Pattern with Lazy
Apr 08, 2026.
Master thread-safe Singleton implementation in C# using Lazy! Learn how to create a single instance class in multi-threaded apps efficiently and avoid common pitfalls. Boost performance with lazy initialization.
How to Implement CQRS with MediatR in .NET Microservices
Apr 08, 2026.
CQRS stands for Command Query Responsibility Segregation. It helps keep your app organized by separating how you write data and how you read it. MediatR is a tool that makes this easier in .NET microservices. In this article, we will walk you through the steps to set it up simply and clearly.
What Is WPF in .NET and How Does It Work for Building Desktop Applications?
Apr 07, 2026.
Explore WPF in .NET for building modern Windows desktop applications. Learn about XAML, data binding, MVVM, and its advantages for rich UI and scalable apps.
What Is Kotlin and Why Is It Better Than Java for Android Development?
Apr 06, 2026.
Discover Kotlin, Google's preferred language for Android development. Learn why it's better than Java: cleaner code, null safety, faster development, and modern features. Ideal for new Android projects!
Why Modern C# Encourages Functional Programming Concepts
Apr 05, 2026.
Explore how modern C# embraces functional programming with LINQ, lambdas, records, and pattern matching for cleaner, safer, and more maintainable code.
What Is the Repository Pattern in C# and How to Implement It Step by Step?
Apr 03, 2026.
Learn the Repository Pattern in C# step-by-step! Discover how to separate data access logic, improve code maintainability, and build scalable ASP.NET Core apps.
What Is SOLID Principles in Object Oriented Programming With Real Examples
Apr 03, 2026.
Master SOLID principles (SRP, OCP, LSP, ISP, DIP) in OOP with real-world C# examples. Write clean, maintainable, and scalable code for robust applications.
Clustering in Machine Learning
Mar 30, 2026.
Explore clustering in machine learning: group data based on similarity without labels. Discover hard, soft, centroid, density, and hierarchical methods. Uncover hidden patterns!
Python vs Java: Which Programming Language Should You Choose in 2026?
Mar 31, 2026.
Python vs Java in 2026: Which language reigns supreme? Explore their differences, use cases, learning curves, and career opportunities to make the right choice.
How to Implement Reflexion Patterns in AI Agents to Reduce Logic Errors
Mar 30, 2026.
Reduce AI logic errors with Reflexion! This guide explores how AI agents can self-review, learn from mistakes, and improve accuracy. Build smarter, reliable systems.
☕ Java: The Language That Built the Modern Digital World
Mar 26, 2026.
Explore Java's enduring legacy! From its 'Write Once, Run Anywhere' promise to powering enterprise systems and Android apps, discover why Java still reigns supreme. ?
RAG Architecture Patterns in .NET: From Naive to Production-Grade
Mar 26, 2026.
Master RAG architecture in .NET! Build production-grade Retrieval-Augmented Generation with chunking, embeddings, vector storage, and hybrid search. Elevate your AI!
Java: A Comprehensive Guide for Modern Developers
Mar 23, 2026.
Explore Java's core features, architecture, and applications in modern software development. Discover why Java remains a top choice for developers in 2026.
Why Java Continues to Dominate Modern Software Development
Mar 23, 2026.
Discover why Java remains a dominant force in modern software development. Explore its evolution, ecosystem, enterprise reliability, and future prospects. A must-read for developers!
Strategy Pattern in .NET 10
Mar 20, 2026.
Master the Strategy Pattern in .NET! Learn how to implement multiple algorithms and behaviors cleanly, avoiding messy if-else statements. Enhance code maintainability and flexibility.
Architectural Patterns for Data Masking and Redaction
Mar 18, 2026.
Protect sensitive data with masking & redaction. Learn architectural patterns, implementation, and benefits for security, compliance, and trust.
From MediatR to Custom Dispatcher: Building Your Own CQRS Pipeline in .NET 10
Mar 19, 2026.
For years, MediatR has been the de facto standard for implementing CQRS (Command Query Responsibility Segregation) in .NET applications. It provided a clean mediator abstraction, pipeline behaviors, and a well-understood developer experience. However, the landscape is evolving. With recent shifts toward commercial licensing and long-term vendor considerations, many teams—especially in enterprise environments—are reassessing their dependencies.
How to Handle Database Transactions in Distributed Systems?
Mar 19, 2026.
Master distributed transactions! Learn 2PC, Saga, & event-driven architectures for data consistency across microservices. Build reliable, scalable systems.
How to Design Fault-Tolerant Systems Using Retry and Circuit Breaker Patterns
Mar 17, 2026.
Build resilient systems! Learn to implement Retry and Circuit Breaker patterns for fault tolerance in distributed architectures. Prevent cascading failures.
What Development Patterns Help Integrate AI Assistants into Existing Software Systems?
Mar 13, 2026.
Discover development patterns for seamlessly integrating AI assistants into existing software. Enhance systems with AI-driven automation and intelligent features.
What Patterns Help Maintain Loose Coupling in Large Codebases?
Mar 13, 2026.
Explore patterns like dependency injection, event-driven architecture, and API gateways to achieve loose coupling. Build scalable, maintainable software!
What Patterns Help Maintain Maintainable and Modular Software Architectures?
Mar 11, 2026.
Explore software architecture patterns like microservices, layered architecture, and DDD for building maintainable, modular, and scalable applications.
Creational Design Patterns
Mar 09, 2026.
Explore Creational Design Patterns! Learn how to decouple object creation, improve flexibility, and enhance testability in your .NET and C# applications. #designpatterns
What architectural patterns are used for deploying enterprise-grade AI systems?
Mar 10, 2026.
Discover architectural patterns for deploying enterprise-grade AI systems. Learn about microservices, data pipelines, and more for scalable, reliable AI solutions.
Builder Pattern in C#
Mar 07, 2026.
Master the Builder Pattern in C# for elegant object creation! Simplify complex object construction with step-by-step implementation and improve code maintainability.
Design RAG Pipeline Pattern in AI Agents
Mar 06, 2026.
Enhance AI agents with RAG! Learn how to design a Retrieval-Augmented Generation pipeline for improved accuracy, reduced hallucinations, and up-to-date knowledge.
Prototype Pattern in C#
Mar 04, 2026.
Learn the Prototype pattern in C#! Clone objects instead of creating them from scratch for efficiency. Includes shallow vs. deep copy examples & benefits.
From Single Agent to Multi-Agent Workflows: Three Orchestration Patterns for GraphRAG
Mar 04, 2026.
Explore GraphRAG workflows: chain, parallelize, and route agents for complex queries. Learn prompt engineering, MCP concurrency, and optimize search strategy.
What Are the Most Common System Design Patterns Used in Scalable Applications?
Mar 05, 2026.
Explore system design patterns like load balancing, caching, and microservices for building scalable applications. Learn how to handle high traffic and ensure reliability.
Multi-Database Architecture in ASP.NET Core: Patterns, Strategies, and Best Practices
Feb 27, 2026.
Learn how to implement multi-database architecture in ASP.NET Core using read/write splitting, polyglot persistence, bounded contexts, and multi-tenant strategies. Discover real-world patterns, scalability techniques, and best practices for building high-performance enterprise applications.
Abstract Factory Pattern in .NET
Feb 24, 2026.
Learn the Abstract Factory Pattern! This creational pattern simplifies creating families of related objects (like payment processors) without specifying concrete classes. See a practical .NET example!
What Are Design Patterns in .NET With Real-World Examples?
Feb 23, 2026.
Explore .NET design patterns (Singleton, Factory, Repository, etc.) with real-world C# examples. Learn how they improve code quality, scalability, and maintainability.
GraphQL with .NET & React | Part 5: Advanced Patterns (Pagination, Errors, JWT & Testing)
Feb 19, 2026.
Master advanced GraphQL patterns! Implement pagination, robust error handling, authentication, and performance optimizations in your .NET & React apps.
How to Detect and Fix Memory Leaks in Java Applications
Feb 20, 2026.
Master Java memory leak detection & prevention! Learn to identify causes, use profiling tools, and apply fixes for stable, scalable production apps.
Unit of Work Design Pattern with EF Core
Feb 20, 2026.
Explore the Unit of Work pattern with EF Core for streamlined transaction management and enhanced testability. Learn when to implement and when to avoid this pattern.
How to Handle Distributed Transactions in Microservices
Feb 20, 2026.
Master distributed transactions in microservices using the SAGA pattern. Learn choreography vs. orchestration, failure handling, and ensure data consistency.
Microservices Design Patterns
Feb 18, 2026.
Explore microservices design patterns for building scalable, resilient applications. Learn about service communication, data management, fault handling, and more.
Mastering CQRS Pattern with MediatR in .NET 10
Feb 17, 2026.
Unlock the power of CQRS in .NET 10 using MediatR! Learn to implement Command Query Responsibility Segregation for scalable and maintainable applications.
Fetching Oracle Data in ASP.NET Core MVC using Repository and Service Patterns
Feb 17, 2026.
Learn how to fetch Oracle data in ASP.NET Core MVC using Repository and Service patterns. Includes handling ORA-01861 errors with parameterized queries for secure data access.
What Are the Key Principles of Clean Architecture?
Feb 18, 2026.
Clean Architecture: Build scalable, maintainable, and testable software. Learn key principles for robust applications in .NET, Java, and cloud environments.
Is the Repository Pattern in .NET Still Relevant in 2026?
Feb 17, 2026.
Explore the relevance of the Repository Pattern in .NET for 2026. Discover when it's beneficial for maintainability and when direct DbContext usage is simpler. Learn best practices!
What Are Design Patterns Every C# Developer Should Know?
Feb 17, 2026.
Master C# design patterns! Learn Singleton, Factory, Repository, and more to build scalable, maintainable enterprise applications in .NET and ASP.NET Core.
Unit of Work Pattern in .NET: Managing Transactions Effectively
Feb 16, 2026.
Master the Unit of Work pattern in .NET for effective transaction management and data consistency. Learn when and how to use it with Entity Framework Core. Improve application reliability!
Repository Pattern in 2026: Still Relevant or an Anti-Pattern?
Feb 13, 2026.
Explore the Repository Pattern's relevance in 2026 .NET development. Is it still a valuable tool or an anti-pattern with EF Core, Minimal APIs, and modern architectures?
API Gateway Pattern in Microservices: A Complete Guide for .NET Developers
Feb 13, 2026.
Master the API Gateway pattern in .NET microservices! Learn how to simplify client communication, enhance security, and improve performance. A must-read guide!
Understanding the Strategy Pattern in C# with a Simple Example
Feb 13, 2026.
Master the Strategy Pattern in C#! Decouple algorithms, simplify code, and enhance maintainability. Learn with a practical example and boost your SOLID principles.
Understanding the Options Pattern in ASP.NET Core with a Practical Example
Feb 13, 2026.
Master ASP.NET Core configuration with the Options Pattern! Learn to replace magic strings with strongly-typed settings for cleaner, maintainable code. Includes practical examples!
Understanding the Memento Design Pattern in C# with a Practical Example
Feb 13, 2026.
Master the Memento Pattern in C#! Learn how to capture object states for undo/redo functionality without breaking encapsulation. Includes a practical C# example.
Understanding the Facade Design Pattern in C# with a Practical Example
Feb 13, 2026.
Simplify complex systems with the Facade pattern in C#! Learn how to create a clean interface, reduce coupling, and improve code maintainability with a practical C# example.
Factory Pattern + Dependency Injection in .NET
Feb 10, 2026.
Learn how to combine the Factory Pattern with Dependency Injection in .NET to create cleaner, more maintainable, and testable code. Solve runtime implementation challenges!
Microservices Pattern: Distributed Transactions Using SAGA
Feb 06, 2026.
Explore the SAGA pattern for managing distributed transactions in microservices. Learn about choreography vs. orchestration, compensating transactions, and best practices.
Repository Pattern in .NET Explained with a Clear and Practical Example
Feb 06, 2026.
Unlock efficient data access in .NET! This guide provides a clear, practical example of the Repository Pattern, boosting maintainability and testability.
How to Build Resilient .NET Applications with the Circuit Breaker Pattern and Polly
Feb 06, 2026.
Build resilient .NET apps with the Circuit Breaker pattern and Polly! Prevent cascading failures, save resources, and ensure a smooth user experience. Learn how!
Design Patterns Simplified: Mastering Singletons in C#
Feb 06, 2026.
Master the Singleton design pattern in C#! Learn how to create a single instance class for efficient resource management, thread safety, and global access in .NET applications.
Essential Coding Patterns for Windows and Linux Compatibility in .NET Core
Feb 03, 2026.
Master .NET Core cross-platform development! Learn essential coding patterns for Windows & Linux compatibility, avoiding common pitfalls in file handling, dependencies, and more.
Power BI Architecture Patterns for Large Enterprises
Feb 02, 2026.
Scale Power BI in large enterprises! Learn architecture patterns for consistency, performance, security, and trust. Centralize data, share models, and govern access.
LLM Agent Orchestration Patterns: Architectural Frameworks for Managing Complex Multi-Agent Systems
Jan 30, 2026.
Explore LLM agent orchestration patterns: decentralized, centralized, specialized & hybrid models. Reduce errors, costs & boost ROI. Essential for multi-agent systems.
Introduction to the Flutter BLoC
Jan 30, 2026.
Master Flutter state management with BLoC! Learn how to separate business logic from UI for scalable, testable, and maintainable apps. A beginner-friendly guide.
Mastering .NET 8 Resilience Pipelines: Internals, Custom Strategies, and Production-Grade Patterns
Jan 29, 2026.
Unlock .NET 8's Resilience Pipelines for robust ASP.NET Core apps. Master strategy ordering, custom policies, tenant isolation, testing, and observability for production.
Power BI UX Anti-Patterns That Hurt Adoption
Jan 29, 2026.
Boost Power BI adoption by avoiding common UX pitfalls! Learn how to create intuitive dashboards that users love, increasing engagement and trust in your data.
Salesforce Integration Anti-Patterns: What Not to Do in Production
Jan 22, 2026.
Avoid common Salesforce integration pitfalls! Learn 10 anti-patterns that cause production failures: real-time abuse, polling, data ownership, and more. Build scalable integrations.
Backend-for-Frontend (BFF) Pattern: A Complete Guide
Jan 20, 2026.
Optimize frontend performance with the Backend-for-Frontend (BFF) pattern! Tailor APIs, reduce complexity, and boost user experience. Ideal for diverse clients.