C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
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]
John Godel(9)
Ananya Desai(9)
Ashish Bhatnagar(8)
Vijay Kumari(6)
Dashrath Hapani(6)
Aarav Patel(5)
Vishal Yelve(5)
Ankit Singh(4)
Aakash Chhillar(4)
Md Mominul Islam(3)
Ziggy Rafiq(3)
Sardar Mudassar Ali Khan (2)
Manav Pandya(2)
Shubham Sidnale(2)
Baibhav Kumar(2)
Pratik Chavan(2)
Sangeetha S(2)
Bimalshi Jayarathna(2)
Lokendra Singh(2)
Jay Krishna Reddy (1)
Rishima (1)
Howher Michael(1)
Gourav Jain(1)
Deepika Sawant(1)
Malintha Wijewardana(1)
Sam (1)
Kripanshu Kumar(1)
Manoj marmat(1)
Arnab Das(1)
Micheal Xavier A (1)
Amit Mohanty(1)
Bhawna Vishwakarma (1)
Sagar Rane(1)
Mark Pelf(1)
Afsar Uddin(1)
Rijwan Ansari(1)
saswata s(1)
Mohammad Hasan Hosseini(1)
Craig Breakspear(1)
Kirtesh Shah(1)
Subarta Ray(1)
Resources
No resource found
API Gateway Security Patterns for ASP.NET Core Microservices
Sep 15, 2025.
This article explores authentication, authorization, rate limiting, and input validation techniques using Ocelot, YARP, and cloud solutions like Azure API Management. Centralize security, reduce attack surface, and improve resilience with best practices for JWT, OAuth2, TLS/HTTPS, and centralized logging. Implement a zero-trust approach for robust protection.
Artificial Intelligence - First Prompting for Cybersecurity: CoT, ToT, ReAct, RAG, and GSCPāIncident-Ready Patterns
Sep 15, 2025.
Operationalize AI in cybersecurity with incident-ready prompt engineering patterns. Learn to classify alerts (CoT), explore containment (ToT), gather evidence (ReAct), ground answers in policy (RAG), and govern high-risk actions (GSCP). Enhance security workflows with auditable, safe AI-driven decisions. Transform telemetry into action!
Cost-Effective Prompt Engineering with Zero-, One-, and Few-Shot Patterns
Sep 07, 2025.
Optimize prompt engineering for cost-effectiveness! This guide details zero-shot, one-shot, and few-shot learning patterns, showing when each saves money. Learn to minimize token usage, use strict schemas, and verify outputs cheaply. Master practical tricks for stable, budget-friendly results with LLMs.
Using React with TypeScript ā Common Patterns Every Developer Should Know
Sep 05, 2025.
TypeScript adds static typing to JavaScript, which means you catch errors earlier, improve editor autocomplete, and make your codebase easier to maintain. When combined with React, TypeScript can significantly improve how you work with components, state, and props.
What Is MVC in Web Development
Sep 04, 2025.
Unlock the power of MVC (Model-View-Controller) in web development! This guide breaks down the MVC architecture, explaining how it separates data (Model), presentation (View), and control (Controller) for cleaner, more maintainable, and scalable applications. Discover the benefits, limitations, and real-world examples of MVC frameworks like ASP.NET MVC, Spring MVC, and more. Master this essential pattern for building robust web applications.
The History Object and Location Object in Java Script
Sep 04, 2025.
Explore JavaScript's History and Location objects for enhanced web navigation. The History object enables seamless browsing history management (back, forward, go), while the Location object empowers URL manipulation, redirection, and access to URL components (protocol, host, pathname).
Find vs GetBy in Entity Framework: Understanding the Right Approach
Aug 31, 2025.
Unlock EF Core efficiency! Compare Find() (primary key, cached) vs. GetBy() (flexible, direct DB query). Learn performance, usage, and error handling for optimal data access.
Master Android App Development: From Beginner to Advanced with Android Studio
Aug 26, 2025.
Master Android App Development with hands-on training in Java, Kotlin, UI/UX, APIs, databases, and Google Play publishing. Build real-world apps, learn best practices, and launch your career as a skilled Android developer.
CQRS ā MediatR
Aug 25, 2025.
Demystifying CQRS and MediatR in .NET! Learn the difference between Command Query Responsibility Segregation and MediatR, with practical examples. Use them right!
Master Software Design Patterns: Complete Course Outline (.NET & Java)
Aug 22, 2025.
Learn software design patterns from basics to advanced. Build scalable, maintainable .NET & Java applications using latest patterns.
Java Programming: Features, Applications, and Advantages
Aug 21, 2025.
Java is a versatile, object-oriented programming language known for its portability, robustness, and scalability. Widely used in web, mobile, enterprise, cloud, and big data applications, it powers reliable solutions globally.
Semantic and Mouse Events in Handling an Event
Aug 21, 2025.
Java Event Handling enables interactive GUI applications through Semantic Events (ActionEvent, ItemEvent, TextEvent) for high-level actions and Mouse Events (click, press, release) for precise low-level control.
C# Memory Leak
Aug 21, 2025.
Learn how to prevent memory leaks in C# caused by static event handlers. This guide explains IDisposable, SafeSubscriber, and best practices for managing event subscriptions and garbage collection in .NET.
What are the difference between a function and a method in C# ?
Aug 21, 2025.
Understanding the difference between a function and a method is crucial for every C# developer. While both perform operations and return results, their usage and context differ. In this article, weāll explore the distinctions with examples, explain when to use each, and compare them with Java for better clarity.
What are Common Design Patterns in Node.js (Module, Singleton, Factory, etc.)
Aug 18, 2025.
This article explains the most commonly used design patterns in Node.js, such as Module, Singleton, Factory, and others. Each concept is explained in simple words with code examples to help you understand where and how to use them.
Validate Binary Search Tree in DSA ā Rules, Algorithms, and Code
Aug 13, 2025.
Learn how to validate whether a given binary tree is a valid Binary Search Tree (BST) using step-by-step logic, rules, iterative and recursive algorithms, and Java examples.
Lowest Common Ancestor in Binary Trees: Easy and Efficient Methods
Aug 13, 2025.
Learn how to find the Lowest Common Ancestor (LCA) in a binary tree using beginner-friendly explanations, step-by-step algorithms, and efficient Java code implementations.
Top K Frequent Elements in an Array: Heap and Hash Map Solutions
Aug 13, 2025.
Learn how to find the Top K frequent elements in an array using detailed explanations of both Heap and Hash Map solutions, with beginner-friendly steps, examples, and Java code.
Merge Two Sorted Linked Lists ā Step-by-Step Guide
Aug 12, 2025.
Learn how to merge two sorted linked lists into one sorted list using an easy step-by-step approach. This beginner-friendly guide covers the definition, problem statement, iterative and recursive solutions, detailed explanations, and Java code examples.
Valid Parentheses Problem - Stack Implementation in Data Structures
Aug 12, 2025.
Learn how to solve the Valid Parentheses problem using a stack in data structures. This beginner-friendly guide explains the problem definition, logic, step-by-step solution, and Java code examples to help you master stack operations.
What is Binary Search Algorithm and How It Works with Examples.
Aug 12, 2025.
Understand the Binary Search algorithm in depth ā how it works, step-by-step process, real-world use cases, and practical Java examples. Perfect for beginners and intermediate learners in Data Structures and Algorithms.
What is the Two Sum Problem in DSA.
Aug 12, 2025.
Learn the Two Sum problem from scratch with definitions, brute force and optimal solutions, Java code examples, and step-by-step explanations perfect for beginners.
How to Reverse a Linked List in Data Structures with Examples
Aug 12, 2025.
Learn how to reverse a linked list in data structures with step-by-step explanations, detailed breakdowns of iterative and recursive approaches, and Java code examples for beginners and intermediates.
SQL Server CLR Integration: Development, Deployment, Security, Architecture, Patterns, and Real-World Use Cases
Aug 11, 2025.
Explore SQL Server CLR Integrationās power to bridge .NET and relational databases. Learn best practices, security, and real-world use cases to build scalable, secure, high-performance data-driven applications across diverse industries.
What is the difference between ArrayList and LinkedList in Java?
Aug 09, 2025.
Learn the in-depth differences between Java's ArrayList and LinkedList with practical code examples, performance considerations, and use-case analysis. This article will help Java developers choose the right list implementation for their needs.
How does a HashMap work internally in Java?
Aug 09, 2025.
A deep dive into how Java's HashMap works behind the scenes, including how hashing, buckets, and collision resolution work. This article also explores what happens when two keys have the same hashCode().
Best Practice to Make Your Project Cleaner in .NET
Aug 09, 2025.
Discover the best practices to keep your .NET projects clean, maintainable, and efficient. Learn tips for organizing code, improving readability, and boosting performance.
GenAI Explained: How Does It Actually Work? - Part 2
Aug 08, 2025.
Generative AI creates text, images, audio, and more by learning patterns from vast data. It powers tools like ChatGPT, DALL·E, and Midjourney, transforming creativity, productivity, and problem-solving across industries.
Unlocking the Power of Software Design Patterns
Aug 08, 2025.
Explore how software design patterns offer proven, reusable solutions to common development challenges. Learn their types, benefits, and real-world applications to build scalable, maintainable, and efficient software systems.
What is the difference between Component, Service, and Repository annotations in Spring?
Aug 08, 2025.
This article explains the differences between Component, Service, and Repository annotations in the Spring Framework. You'll learn what each one does, how they relate to Spring's component scanning and dependency injection, and when to use which one. Includes real-world examples and best practices.
What are Java Records, and how do they improve data modeling in Java?
Aug 08, 2025.
This article explores Java Records, a feature introduced in Java 14 and finalized in Java 16āand how they simplify and enhance data modeling. Learn what Records are, how they differ from traditional Java classes, their benefits in immutability, concise syntax, and real-world use cases, with clear examples.
How to Implement Pagination and Sorting in Spring Boot Using Spring Data JPA?
Aug 08, 2025.
A comprehensive guide to implementing scalable and efficient pagination and sorting mechanisms in Spring Boot applications using Spring Data JPA. Includes real-world examples, best practices, and performance optimization tips to improve your REST API responses.
Common Pitfalls in Selenium Automation and How to Avoid Them
Aug 05, 2025.
This article highlights common Selenium automation mistakes like weak locators, hard-coded waits, and poor exception handling, offering best practices such as POM, explicit waits, and data-driven testing for robust, maintainable tests.
Cross-Browser Testing with Playwright
Aug 01, 2025.
Cross-browser testing ensures that web applications function correctly across different web browsers. It helps identify inconsistencies in layout, behavior, and performance that may arise due to browser-specific implementations.
ETL Design Pattern to Implement SCD Type 2 Using SQL, SSIS, or dbt
Jul 30, 2025.
SCD Type 2 is widely used in data warehousing to preserve full history of dimensional changes. Implementing it correctly through your ETL process is crucial for accurate historical reporting.
Aspose.Email Review: A Developerās Perspective
Jul 30, 2025.
Aspose.Email is a powerful API for .NET, Java, Python & C++ that enables email reading, writing, conversion, and parsing with support for PST, EML, IMAP, SMTP, OAuth 2.0, and more ideal for automation.
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.
Designing a Scalable Schema in MongoDB: Real-World Patterns That Actually Work
Jul 21, 2025.
MongoDB gives you freedom, but that freedom comes with tradeoffs. Schema design in MongoDB isnāt about a strict structure. Itās about smart structure, based on how your app behaves.
SortedSet Interface and Iterator Interface
Jul 18, 2025.
The SortedSet interface extends the Set Interface, which I already discussed in my Previous Article. The elements of this interface are sorted in ascending order.
Modern MediatR Library in .NET Core 9.0
Jul 10, 2025.
Modern MediatR Library in .NET Core
šMastering SOLID Principles in Real-World .NET Projects
Jul 07, 2025.
Learn SOLID principles in C# with real-world .NET examples. Master SRP, OCP, LSP, ISP, and DIP to write clean, testable, and scalable code using interfaces, patterns, and best practices for enterprise apps.
Webhook pattern for an Azure Logic App
Jul 01, 2025.
This article describes how we can use asynchronous request reply pattern, webhook pattern with logic app to resolve timeout related issues during large data processing.
Key Performance Tuning Techniques in Android Development (2025)
Jul 01, 2025.
Optimize Android app performance with innovative UI, memory management, threading, and modern tools like Jetpack Compose, Retrofit, Room, and Firebase to ensure smooth, fast, and reliable user experiences.
Page Object Model Design Pattern: Benefits and Implementation
Jun 30, 2025.
The Page Object Model (POM) design pattern in Selenium improves test automation by separating UI structure from test logic, ensuring maintainability, reusability, readability, and scalability for growing web applications.
Service Lifetimes in ASP.NET Core: Transient vs Scoped vs Singleton
Jun 25, 2025.
Learn the differences between Transient, Scoped, and Singleton service lifetimes in ASP.NET Core with real-world examples
Introduction to Dagger Hilt for Android Development
Jun 24, 2025.
Learn how to use Dagger Hilt in Android to simplify dependency injection, reduce boilerplate code, and build cleaner, more maintainable apps with modern architecture best practices.
Jetpack Compose and Its Basic Building Blocks
Jun 18, 2025.
earn the basics of Jetpack Compose, Androidās modern UI toolkit. Understand its core building blocks like Composables, Layouts, and Modifiers to create intuitive and dynamic user interfaces.
What is Singleton Design Pattern With Real Time Example in C#
Jun 12, 2025.
Learn how the Singleton Design Pattern works in C# with a real-time example. Understand its use in controlling object creation, ensuring only one instance exists for global access and efficiency.
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 Clean ASP.NET Core API with C# 13, EF Core, and DDD
Jun 02, 2025.
The guide is written by Ziggy Rafiq and follows real-world architecture and testing best practices to provide a clean, scalable REST API using ASP.NET Core, C# 13, EF Core, and MS SQL.
Interpolation Search Algorithm in Java
Jun 03, 2025.
Learn how Interpolation Search improves upon Binary Search for uniformly distributed, sorted arrays. Explore its working, code examples in Java, performance, use cases, and comparison with Binary Search.2/2
Understanding Cycle Sort in Java
Jun 01, 2025.
The fundamental principle behind cycle sort is to place each element directly into its final sorted position. The algorithm works by counting how many elements are smaller than the current element, which determines its correct position in the sorted array.
Coil - Image Loading Library
May 26, 2025.
Coil is a fast, lightweight, and modern image-loading library for Android, built using Kotlin and backed by Coroutines. It simplifies image loading with efficient caching and minimal setup.
Typical Uses of JDBC with Architecture
May 16, 2025.
The traditional client/server model has a rich GUI on the client and a database on the server. In this model a JDBC driver is deployed on the client.
Event-Driven CQRS with C# 14 and the SQL Outbox Pattern
May 15, 2025.
Learn how to implement a reliable event-driven CQRS microservice using the SQL Outbox Pattern with C# 14. Ensure strong consistency, transactional event publishing, and fail-safe asynchronous processing for scalable distributed systems.
Applying the Saga Pattern for Distributed Transactions Across Services Using C# Examples
May 07, 2025.
The Saga pattern in microservices helps manage distributed transactions by breaking them into local transactions with compensating actions. It ensures data consistency and handles failures through choreography or orchestration.
Build a CRUD App in .NET 8 MVC Using Dapper and Repository Pattern
May 06, 2025.
Learn to build a CRUD app in .NET 8 MVC using Dapper for lightweight data access and the Repository Pattern for clean code architecture.
Abstract Factory Pattern for Notification Services in C# 14
Apr 22, 2025.
Discover how to use the Abstract Factory Pattern in C# 14 to build a flexible, provider-agnostic notification system.
Sharing Session and Application data
Apr 21, 2025.
The request scope makes data available to multiple pages processing the same request. But in many cases, data must be shared over multiple requests.
Singleton Pattern in C# 14: A Deep Dive with a Real-World Example
Apr 21, 2025.
In software architecture, there are scenarios where only a single instance of a class should exist throughout the lifetime of an application.
šØ Abstract Factory Pattern in C# 14
Apr 21, 2025.
In modern C# development, particularly within enterprise applications, itās common to deal with families of related objects.
Abstract Factory Pattern for Database Access in C# 14
Apr 21, 2025.
This article covers creating flexible, maintainable code for handling multiple databases, while leveraging modern C# features for clean architecture and scalability.
What is New in JDK 24?
Apr 18, 2025.
JDK 24 introduces preview features like unnamed variables, pattern matching for primitives, string templates, and performance boosts, enhancing Java's productivity, readability, and native integration for modern development.
Advanced Configuration in .NET Core
Apr 17, 2025.
.NET Core provides various configuration sources like appsettings.json, environment variables, and Azure Key Vault. You can use strongly typed configuration with IOptions, validate options, enable hot reload, and manage secrets securely for app development.
C# Singleton Pattern: One Instance to Rule Them All
Apr 16, 2025.
The Singleton Design Pattern in C# ensures only one instance of a class exists and provides a global access point. It's ideal for managing shared resources like logging, configuration, or database connections.
Introduction to Event Driven Architecture [EDA]
Apr 15, 2025.
Event-driven architecture (EDA) is a software design pattern where decoupled components communicate via events. It enables real-time, scalable, and flexible systems, commonly used in microservices, IoT, payment processing, and real-time analytics.
Django Web framework Google Chart Example
Apr 14, 2025.
Django, a Python web framework using the MVT pattern, simplifies web development with built-in admin, structured views, and templatesādemonstrated using a Google Charts example for dynamic data visualization.
.NET 8 - System.Linq.Dynamic.Core ā using SQL LIKE
Apr 11, 2025.
System.Linq.Dynamic.Core library does not support SQL LIKE, and I added support for it. Added SQL LIKE support to the System.Linq.Dynamic.Core in .NET 8 using a custom patch. Enables dynamic SQL pattern matching in EF8 projects where built-in LIKE functionality was missing.
Open/Closed Principle (OCP)
Apr 08, 2025.
The Open/Closed Principle encourages extending software functionality without modifying existing code. It enhances flexibility, reduces bugs, and promotes maintainability by using interfaces and polymorphism for scalable, change-resilient design.
Liskov Substitution Principle (LSP)
Apr 07, 2025.
Understand the Liskov Substitution Principle (LSP), a key SOLID principle that ensures subclasses can replace base classes without errors, promoting reliable inheritance, clean abstraction, and maintainable object-oriented design.
Mastering SOLID Principles in Software Design
Apr 06, 2025.
The SOLID principles are five key object-oriented design guidelinesāSingle Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversionāaimed at writing clean, maintainable, and scalable software systems.
Understanding AI: A Beginner's Guide
Apr 04, 2025.
Artificial Intelligence (AI) simulates human intelligence in machines to perform tasks like pattern recognition, decision-making, and learning from data. It powers apps like recommendations, predictions, and automation.
What is Monolithic Architecture
Apr 01, 2025.
Monolithic architecture is a software design pattern where the entire application is built as a single unit. It offers advantages like easier development and deployment but faces challenges in scalability and maintenance as applications grow.
Decorator Design Pattern ( Singleton Design Pattern)
Mar 28, 2025.
This article explains the Decorator Design Pattern in C#, demonstrating how to dynamically add functionalities to objects without modifying their structure. It includes real-world examples, implementation steps, and code samples.
Advanced APIs with ASP.NET Core: Middleware, EF Core, and Versioning
Mar 28, 2025.
Learn how to build advanced APIs with ASP.NET Core using middleware, Entity Framework Core (EF Core), and API versioning. This guide covers request handling, database management with EF Core, and implementing versioning strategies for scalable and maintainable APIs.
Integrating Java with QA Automation: Selenium WebDriver Testing
Mar 28, 2025.
Java and Selenium WebDriver offer a robust foundation for QA automation, enabling scalable, maintainable, and efficient testing. Implementing best practices ensures a high-quality software delivery process.
SQL Tag Library in Java Server Page
Mar 21, 2025.
JSTL SQL tags are used to access databases and are designed for low-volume Web-based applications.? JSTL SQL tags facilitate database interactions in JSP pages, enabling data source setup, query execution, updates, and transactions through tags like <sql:setDataSource>, <sql:query>, <sql:update>, and <sql: transaction>
Learn C#: Refactor Code
Mar 18, 2025.
Refactoring in C# enhances code readability, maintainability, and performance by eliminating redundancy, utilizing LINQ, extracting methods, applying null-coalescing operators, and implementing async/await patterns.
Dynamic Database Web API in .NET 9: Clean Architecture & MediatR for Flexibility
Mar 17, 2025.
A Web API should support multiple database options such as SQL Server, PostgreSQL, MySQL, and SQLite without major code changes. In this article, we will build a .NET 9 Web API using Clean Architecture, Domain-Driven Design (DDD), and MediatR, while implementing dynamic database selection using Entity Framework Core (EF Core).
Understanding IT Solution Architecture
Mar 12, 2025.
Solution architecture is focused mainly on the understanding of the business requirements and based on that need to design the project. Solutions should be designed in a way that it will be easy for maintenance and updates.
Domain Events & Pub/Sub Pattern: Manual Implementation vs MediatR
Feb 27, 2025.
Domain events and the publish/subscribe pattern are essential for building decoupled, scalable, and maintainable systems. Whether we're working on a microservices architecture or a modular monolith, these patterns help us manage complexity and enforce boundaries between components.
Top AI Libraries for Java Developers
Feb 25, 2025.
Java developers can enhance their applications with AI capabilities using libraries like Deeplearning4j for deep learning, Weka for data mining, MOA for data stream analysis, Spark MLlib for scalable machine learning, and Neuroph for neural network development.
Speed Testing Programming Languages
Feb 19, 2025.
How fast is the same code using different languages. In this article I used VS Code to write a loop in different languages and tested the execution speed with results.
Understanding Bridge Design Pattern
Feb 13, 2025.
This article explains its benefits, use cases, and implementation in C# with a real-world message-sending example using SmsMessageSender and EmailMessageSender.
Understanding Factory Design Pattern
Feb 11, 2025.
Learn about the Factory Design Pattern in C#. This article explains its implementation with a real-world banking example, demonstrating how to create flexible, maintainable, and decoupled object creation logic.
Building a Number Guessing Game in Java
Feb 10, 2025.
Learn how to create a number guessing game in Java. This beginner-friendly project covers random number generation, user input handling, loops, and conditionals, with enhancements like difficulty levels and input validation.
CQRS and Mediator Pattern in a .NET 8 Web API
Feb 10, 2025.
This article explains how to implement CQRS and Mediator patterns in a .NET 8 Web API. It covers the benefits of separating read and write operations with CQRS, and how the Mediator pattern reduces dependencies between objects.
Understanding Abstract Factory Design Pattern
Feb 01, 2025.
This article explains the Abstract Factory Design Pattern in C#, demonstrating its implementation with a real-world payment gateway example. It covers abstract products, factories, concrete implementations, and client usage.
Design Patterns for Scalable ASP.NET MVC Applications
Jan 31, 2025.
Discover key design patterns like Repository, Unit of Work, Dependency Injection, Factory, Singleton, and Command to enhance the scalability, maintainability, and testability of your ASP.NET MVC applications.
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.
Java Program for Counting the Number of Vowels in a String
Jan 28, 2025.
This article explains how to count the number of vowels (a, e, i, o, u) in a given string using Java. It covers two approaches: a simple method using loops and conditional statements, and a more optimized approach utilizing a Set for quick vowel lookups.
Java Program to Count the Number of Even and Odd in an Array
Jan 27, 2025.
The title "Java Program to Count the Number of Even and Odd Numbers in an Array" refers to a Java program that demonstrates how to count how many numbers in an array are even and how many are odd. The article explains the concept of even and odd numbers, and provides a step-by-step guide on implementing a Java solution using simple loops and conditional statements.
Mastering C# 13.0: Best Practices and Coding Standards
Jan 26, 2025.
Explore the essential coding standards and new features of C# 13.0. Enhance your development skills with practical examples and coding snippets for writing clean, efficient, and maintainable code.
The Java.NET Package
Jan 25, 2025.
The Java.NET package provides classes for implementing networking functionality in Java. It supports TCP, UDP, and HTTP protocols, enabling tasks like creating sockets, managing URLs, sending/receiving data, and handling network connections.
Java Program to Calculate Factorial Using Recursion
Jan 23, 2025.
In this article, we explore how to calculate the factorial of a number using recursion in Java. Factorial, denoted as n!, is the product of all positive integers less than or equal to a given number n.
Printing a 2D Array in Java with Code
Jan 23, 2025.
Explore methods to print a 2D array in Java, including nested loops, Arrays.deepToString(), for-each loops, and Java 8 streams, with detailed explanations and code examples for effective implementation.
Merging Two Arrays in Java with Code
Jan 22, 2025.
This article explores merging arrays in Java, covering efficient techniques like `System.arraycopy()`, manual iteration, Java Streams, and ArrayList, with code examples to suit various programming needs.
Java 21 JUnit Testing Best Practices
Jan 21, 2025.
The best practices for JUnit testing in Java 21 by Ziggy Rafiq include leveraging new language features like record patterns and string templates. Develop maintainable and robust Java applications by leveraging test isolation, AAA patterns, and parameterized tests.
Java Program to Rotate a Square Matrix by 90 Degrees
Jan 21, 2025.
Rotating a matrix by 90 degrees is a common problem in programming, often asked in coding interviews and competitions. The task involves changing the arrangement of elements in a square matrix such that the rows of the original matrix become columns in the rotated matrix, specifically in a clockwise direction.