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(22)
Kirtesh Shah(9)
Nidhi Sharma(4)
Tuhin Paul(4)
subramanya m(3)
Tanuj (3)
Vinoth Xavier(3)
Avnii Thakur(3)
Subarta Ray(3)
Saurav Kumar(2)
Akshay Amin(2)
Mariem Moalla(2)
Baibhav Kumar(2)
Ashish Bhatnagar(2)
Vijay Kumari(2)
Aakash Chhillar(2)
Onkar Sharma(2)
Riya Patel(1)
Ananya Desai(1)
Aarav Patel(1)
Ketan Sathavara(1)
Prathamesh Dhopare(1)
Abiola David(1)
Varun Setia(1)
Jayraj Chhaya(1)
John Godel(1)
Henil Patel(1)
Nishant Raj(1)
Abhishek Yadav(1)
Rikam Palkar(1)
Rohit Gupta(1)
Sardar Mudassar Ali Khan (1)
Jay Krishna Reddy (1)
Saurabh Prajapati(1)
Emanuel Martins(1)
Ajay Kumar(1)
Dashrath Hapani(1)
Ramchand Repalle(1)
Ziggy Rafiq(1)
Manoj Kalla(1)
Jalpa Dhola(1)
Rama Dabburi(1)
Sangeetha S(1)
Jignesh Kumar(1)
Mayooran Navamany(1)
Naveen Kumar(1)
Swesh S(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.
Remove K Digits Problem – Greedy Stack Approach to Find the Smallest Number
Jun 05, 2026.
Learn how to solve the “Remove K Digits” problem using a greedy monotonic stack approach. This article explains how to efficiently remove k digits from a number string to form the smallest possible result while maintaining digit order, along with a Java implementation and clear intuition.
API Versioning in ASP.NET Core: Best Practices and Common Mistakes
Jun 05, 2026.
Learn API Versioning in ASP.NET Core with practical examples. Explore versioning strategies, best practices, common mistakes, and implementation techniques.
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.
Difference Between template literals and string concatenation in Javascript
May 12, 2026.
Explore the key differences between JavaScript template literals and string concatenation. Learn which method is best for readability, dynamic content, and efficiency. Discover practical examples!
Difference Between template literals and string concatenation in Javascript
May 12, 2026.
Explore the key differences between JavaScript template literals and string concatenation. Learn which method offers better readability, dynamic content handling, and efficiency for various string operations.
Minimum Window Subsequence
Apr 30, 2026.
A detailed guide to solving the Minimum Window Subsequence problem using a greedy two-pointer approach. The article explains how to find the smallest substring in a string that contains another string as a subsequence, using forward scanning to match characters and backward scanning to minimize the window. It includes step-by-step intuition, dry run, and an optimized O(n × m) solution suitable for coding interviews.
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!
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.
How to implement API versioning using URL, header, and query string in ASP.NET Core?
Apr 22, 2026.
Master API versioning in ASP.NET Core! Learn to implement URL, query string, and header versioning for backward compatibility and seamless API evolution. Keep your apps stable!
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.
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.
Difference Between String and StringBuilder in C# and When to Use Each?
Apr 07, 2026.
Unlock C# text manipulation mastery! Learn the String vs. StringBuilder difference for optimal performance. Discover when to use each for efficient code and scalability.
How to Use Append to String and Append to Array Variable in the Flow
Mar 09, 2026.
Master Power Automate's 'Append to String' and 'Append to Array' actions! Learn to dynamically build text and collections for flexible, powerful flows. Includes practical examples.
Understanding Strings in C#: A Complete Guide for Developers
Mar 03, 2026.
Unlock the power of C# strings! This guide dives into immutability, memory management, common operations, and performance optimization for efficient coding. Master string handling!
How Variables Work in Power Apps - Set vs UpdateContext vs Collections
Feb 27, 2026.
Master Power Apps variables! Learn when to use Set(), UpdateContext(), and ClearCollect() for efficient data management, global states, and screen-specific logic. Build cleaner, more professional apps. Variables are essential for managing data and state in Power Apps, but understanding the difference between Set, UpdateContext, and Collections can be confusing for beginners. This article clearly explains when and why to use each type of variable. Learn the scope, behavior, and real-world usage scenarios with simple examples. A beginner-friendly guide to help you write cleaner and more efficient Power Fx formulas.
How to Reverse a String in C#
Feb 26, 2026.
Learn two efficient methods to reverse strings in C# using Array.Reverse() and loops. Understand the immutability of strings, performance considerations, and real-world applications. Master this fundamental C# skill!
Required Members Feature in C#: Ensuring Safer and More Reliable Object Initialization
Feb 14, 2026.
Ensure safer object initialization in C# with Required Members! Prevent invalid states, improve code safety, and enhance readability. A must-know for .NET devs.
Converting String Dates to Real Date Types in PySpark
Feb 01, 2026.
In this article, I covered how to transform string dates to proper date types in PySpark using to_date() and to_timestamp()
Understanding the Real-World Scenarios You Must Concentrate On When Using Replace()
Jan 19, 2026.
Stop misusing Replace() in ASP.NET! Learn when and where to use it correctly to avoid email formatting issues and data inconsistencies. Focus on human readability!
Understanding the Difference Between Replace() and Trim()
Jan 19, 2026.
Understand the crucial differences between .NET's Replace() and Trim() methods for effective string manipulation. Avoid data integrity issues and formatting errors! Learn when to use each for optimal text cleaning in your applications. Master input sanitization!
Valid Anagram Problem in DSA (String + Hashing)
Jan 15, 2026.
Master the Valid Anagram problem! Learn to efficiently check if two strings are anagrams using hashing. Ace your DSA interviews with this optimized approach. Includes code examples!
Group Anagrams Problem in DSA (Simple Explanation with Code)
Jan 13, 2026.
Learn the Group Anagrams problem in DSA with a simple and clear explanation. Step-by-step logic, examples, and clean code to help beginners and interview preparation.
Longest Palindromic Substring – DSA Interview Question
Jan 13, 2026.
Master the Longest Palindromic Substring problem! This guide offers a clear explanation, optimized code (C++, Java, Python), and interview tips for DSA success.
Sliding Window Technique in DSA (Longest Substring Without Repeating Characters)
Jan 08, 2026.
Learn the Sliding Window Technique in DSA with a simple explanation of the Longest Substring Without Repeating Characters problem. Step-by-step logic with clean code examples.
Structured Strings in Python 3.14: A Deep Dive into Template Literals
Dec 28, 2025.
Explore Python 3.14's template string literals (t-strings) for safer, flexible string processing. Learn how they enhance security and readability over f-strings.
Partial Constructors in C# 14 (.NET 10) - A Game-Changing Feature
Dec 22, 2025.
C# 14 introduces Partial Constructors, a game-changer for .NET 10! Split constructor logic across files, enhance source generator support, and improve maintainability. Build modular, scalable applications with ease.
Torsion Pontryagin Duality for the M-Theory C-Field
Dec 18, 2025.
Topological sectors of the M-theory 3-form gauge potential (C_3) and its 4-form field strength (G_4) are known to carry subtle quantum phases and anomaly constraints, already visible in the shifted flux quantization and in the global definition of the effective action. (arXiv) A particularly rich and comparatively under-systematized component arises from torsion in the integral (co)homology of the compactification manifold: torsion classes define discrete fluxes, discrete gauge symmetries, and higher-form symmetry data in the effective theory. This article proposes a concrete conjectural organizing principle for these torsion sectors, termed Torsion Pontryagin Duality (TPD). The conjecture states that the torsion sectors admit a canonical finite Heisenberg-group structure, and that the “(C)-holonomy basis” and “(G)-flux basis” are related by a discrete Fourier transform whose kernel is the torsion linking pairing. This perspective unifies several phenomena: noncommutativity of torsion electric and magnetic flux measurements, universal (BF)-type symmetry topological field theories in the effective description, and a brane-braiding interpretation in terms of wrapped M2 and M5 branes. (arXiv)
How to Extract Numbers from Any String in Power Automate
Dec 15, 2025.
Effortlessly extract numbers from any text string in Power Automate using these simple steps. Learn two efficient methods using Select and Filter array actions.
Variables and Data Types in C#
Nov 25, 2025.
Master C# variables and data types! Learn to store data effectively using int, string, double, bool, and more. Includes real-world examples and a code snippet.
📌SQL Server String Functions — SUBSTRING, CHARINDEX, LEN, and REPLICATE (With Real Examples)
Nov 14, 2025.
Master SQL Server string manipulation! Learn SUBSTRING, CHARINDEX, LEN, and REPLICATE with a practical email masking example. Enhance data security and readability.
String Methods in JavaScript – A Complete Article
Nov 15, 2025.
Master JavaScript strings! This guide covers essential methods like slice, replace, trim, and more, with examples for efficient text manipulation. Perfect for learning!
Working with String, StringBuilder, and StringBuffer in C#
Oct 29, 2025.
Master C# string manipulation! Compare string, StringBuilder, & StringBuffer (simulated) in ASP.NET WebForms. Boost performance & ensure thread safety. ??
Reverse a string without using built-in functions.
Oct 29, 2025.
Learn how to reverse a string in C# without using built-in functions! This tutorial provides a step-by-step guide with code examples and a real-time example flow. Perfect for beginners!
Count vowels and consonants in a string
Oct 29, 2025.
Learn how to count vowels and consonants in a string using C# and ASP.NET! This real-time example provides a step-by-step guide with code and explanations.
Find Duplicate characters in a string
Oct 29, 2025.
Learn how to find duplicate characters in a string using C# and ASP.NET with this real-time example. Includes code, explanation, and input/output samples.
Remove spaces and special characters from a string using C#
Oct 29, 2025.
Learn how to remove spaces and special characters from a string in C# using Regex. This tutorial provides a real-time example with WebForms and clear explanations. Clean your strings effectively!
Count words in a sentence
Oct 29, 2025.
Learn how to count words in a sentence using ASP.NET WebForms with this real-time example. Includes code snippets and a step-by-step explanation for easy implementation.
Find the frequency of each character in a string
Oct 29, 2025.
Learn how to find the frequency of each character in a string using C# and ASP.NET! This tutorial provides a real-time example with code and explanation.
Capitalize first letter of each word in a string
Oct 29, 2025.
Learn how to capitalize the first letter of each word in a string using ASP.NET Web Forms with C#. Includes a real-time example and alternative manual method.
Count frequency of words using Dictionary
Oct 29, 2025.
Learn how to count word frequency in C# using a Dictionary! This real-time webforms example demonstrates a practical implementation with clear steps and code.
Print Pyramid Star Pattern using C# in ASP.NET WebForms
Oct 29, 2025.
Learn to create a Pyramid Star Pattern in C# ASP.NET WebForms using nested loops and StringBuilder. A great exercise for mastering logic and HTML rendering!
Understanding Constructor Overloading in C# WebForms
Oct 29, 2025.
Master C# constructor overloading in WebForms! Learn to initialize objects flexibly with different parameters. Real-time example included for practical use.
Understanding Constructor Overloading in C# WebForms
Oct 29, 2025.
Master C# constructor overloading in WebForms! Learn to initialize objects flexibly with different parameters. Real-time examples & practical use cases included.
Chapter 6: Arrays and the C++ String Class
Oct 23, 2025.
Explore fundamental data structures in C++: arrays and the std::string class. Learn how to declare, initialize, and manipulate arrays for storing collections of data. Discover the power of std::string for efficient text handling, including concatenation, length determination, and character access. Also, delve into multidimensional arrays for representing grids and matrices.
Chapter 10: Classes and Objects: Construction and Destruction
Oct 23, 2025.
Explore object lifecycle management in C++! This chapter dives into constructors, special functions that initialize objects upon creation, covering default and parameterized constructors with practical examples. Learn about destructors, crucial for releasing resources like dynamically allocated memory to prevent memory leaks. Finally, understand the 'this' pointer and its role in differentiating member variables and enabling method chaining for cleaner code.
Part III - Best Practices for Handling Connection Strings in C#
Oct 23, 2025.
Securely managing connection strings in C# .NET is crucial for database-driven applications. This guide covers best practices like avoiding hard-coding, leveraging Windows Authentication, and utilizing Azure Key Vault for sensitive data. Learn to protect your application from vulnerabilities by encrypting connection strings, validating their structure, and applying the principle of least privilege. Implement these strategies to enhance security and streamline deployment in your C# projects.
Part IV - .NET 5+ SQL Connections: Why Encrypt=True Is Now the Default
Oct 23, 2025.
Learn about the .NET 5+ default Encrypt=True setting for SQL connections and its impact on your applications. This article explains why Microsoft made this security enhancement, how to handle self-signed certificates in development, and best practices for production environments. Ensure secure data transfer and avoid connection errors by understanding and implementing the correct connection string configurations. Discover how to configure your connection strings for optimal security and compatibility.
Understanding Advanced Patterns of useState in React
Oct 23, 2025.
Delve deeper into React's useState hook! This guide explores advanced patterns like lazy initialization, object state management (spreading!), and avoiding common pitfalls such as incorrect updates and using useState in loops. Understand how React optimizes state updates and ensures efficient re-renders. Master useState for robust and performant React components. Learn how to initialize state only once and the importance of using functional updates.
In-Depth Look at Advanced Authentication and Connection Strings for SQL Server and Databases (Part II)
Oct 22, 2025.
Master SQL Server connections in C# .NET! This guide dives deep into connection strings, covering essential properties like Data Source, Initial Catalog, User ID, Password, Integrated Security, and Encrypt. Learn best practices for secure authentication, including Windows Authentication, Azure AD Managed Identity, and secure credential storage. Optimize your database connections for performance and security with practical examples and recommendations.
Python 3.14 — New Features, Internal Changes & Migration Guide
Oct 13, 2025.
Detailed developer-focused guide to Python 3.14: deferred annotations, multi-interpreter support, template strings, improved debugging, GC changes, stdlib upgrades, C API updates, and migration notes.
Real-Time Array Initialization in Python: Powering Live Disaster Response Systems
Oct 11, 2025.
Master array initialization in Python for real-time systems like wildfire prediction. Learn efficient techniques using lists and NumPy to optimize speed, memory, and correctness. Avoid common pitfalls like shared references and dynamic allocation. Implement robust code with test cases and best practices for building resilient disaster response systems. Crucial for time-sensitive applications!
Count vowels and consonants in a String
Oct 08, 2025.
Master string manipulation by counting vowels and consonants! This fundamental exercise strengthens your understanding of character operations, loops, and conditional statements, crucial for DSA success. Explore C, C++, and Java code examples with detailed explanations. Learn to handle case sensitivity and avoid common pitfalls. Build a solid foundation for tackling more complex string problems.
How to Reverse a String In-Place in C++
Oct 07, 2025.
Master string reversal in C++ in-place! This guide covers essential techniques for coding interviews and efficient programming. Learn how to reverse strings without extra memory using two pointers, std::swap(), and the STL reverse() function. Explore C-style string reversal and edge case handling. Optimize your code and ace those technical challenges with these memory-efficient methods. Understand time and space complexity for optimal performance.
C# tips: string.IsNullOrEmpty vs string.IsNullOrWhiteSpace
Oct 03, 2025.
Understand the crucial difference between string.IsNullOrEmpty and string.IsNullOrWhiteSpace in C#. This article clarifies when to use each method for effective string validation. Learn how IsNullOrWhiteSpace handles whitespace-only strings, preventing potential bugs. We also cover performance considerations, highlighting that while IsNullOrEmpty is slightly faster, the difference is often negligible in real-world applications. Choose the right tool for robust and reliable C# code.
How to Sort the Array Alphabetically in Python
Oct 01, 2025.
This article covers case-insensitive sorting with key=str.lower, handling mixed data types, and reverse sorting. Includes a real-world FMCG product catalog example, time/space complexity analysis, and best practices for efficient and user-friendly data presentation. Master text sorting for cleaner, more predictable data!
How to Check If a String is a Palindrome or Not using Python
Oct 01, 2025.
Explore various Python methods for palindrome detection, from simple reversal to the efficient two-pointer technique. Learn how palindrome checks enhance security in real-world applications like random password generators by preventing weak, easily guessable passwords. Understand time/space complexity and best practices for optimal performance. Includes complete implementation with test cases and a focus on security considerations.
🔄 Reverse a String Without Using Extra Space
Sep 30, 2025.
Master the art of reversing a string in-place, a fundamental Data Structures and Algorithms (DSA) interview question! This article provides a step-by-step approach using the efficient two-pointer technique. Learn how to optimize memory usage with an O(1) space complexity solution. Includes a C# implementation, dry run example, and key takeaways to ace your next coding challenge.
✨ How to Check if a String is a Palindrome in DSA
Sep 30, 2025.
Master the palindrome! This guide explains how to check if a string is a palindrome using two efficient methods: Reverse & Compare and the Two-Pointer technique. Includes C++, Java, and Python code examples with time/space complexity analysis. Learn practical applications in data validation, cryptography, and DNA sequencing. Ace your DSA interviews!
Array Initialization in Python: From Basics to Real-World Applications
Sep 26, 2025.
This article covers fundamental techniques, from basic lists to NumPy, with a real-world dynamic programming example: stock trading with fees. Learn best practices, time/space complexity, and avoid common pitfalls like reference issues in multi-dimensional arrays. Optimize your code for performance and readability through proper array initialization and testing.
Securing Connection Strings and AppSettings in ASP.NET Core
Sep 15, 2025.
Learn how to use User Secrets for development, environment variables for staging, and Azure Key Vault or AWS Secrets Manager for production. Discover encryption techniques and database-level security measures to safeguard sensitive information. Implement best practices like secret rotation and access auditing to fortify your application's security posture and prevent unauthorized access to critical data.
Using Enums as Strings in EF Core
Aug 31, 2025.
Learn how to store enums as strings in EF Core for improved database readability and maintainability. Explore the pros, cons, and step-by-step implementation.
Understanding the __init__ Method in Python
Aug 21, 2025.
The __init__ method in Python is a special method used for initializing objects when they are created from a class. It is often referred to as the constructor because it sets up the initial state of an object. In this article, we will explore what the __init__ method is, why it is important, and how to use it with practical examples.
Structured Logging in .NET: Why You Should Avoid String Interpolation
Aug 13, 2025.
Structured Logging in .NET: Why You Should Avoid String Interpolation, and string concatenation and use structured logging instead.
How to Reverse a String in Python Using Slicing
Aug 11, 2025.
Learn how to reverse a string in Python using slicing. This beginner-friendly guide explains the concept of slicing in depth, provides step-by-step examples, and compares alternative methods so you can master string reversal with confidence.
What is Strings and Dictionaries
Jun 30, 2025.
Unlock the power of strings and dictionaries in Python! This guide covers essential string manipulation techniques, including indexing, slicing, methods like upper(), lower(), split(), and join(), and the versatile format() function.
EJB QUERY LANGUAGE (EJB QL)
May 30, 2025.
EJB QL is a query language used to query enterprise beans and their relationships, supporting string and arithmetic functions, with syntax defined using Backus-Naur Form (BNF) for structured query creation.
Creating a WebApi Project in .NET 9 [GamesCatalog] 18
Apr 28, 2025.
Learn how to set up an ASP.NET Core Web API with MySQL using Entity Framework Core. This guide covers creating projects, configuring the database, defining DTOs, adding migrations, and creating a users table in the database.
Primary Constructors in C# 12
Apr 18, 2025.
Primary constructors in C# 12 simplify class and struct initialization by allowing parameters to be declared directly in the class signature. This new feature reduces boilerplate code, making object creation cleaner and more concise. Great for writing modern, readable C# code.
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.
Mastering SQL String Functions
Mar 25, 2025.
SQL string functions help manipulate and process text data efficiently. This guide covers key functions like UPPER(), LOWER(), LEN(), LEFT(), RIGHT(), SUBSTRING(), REPLACE(), CONCAT(), LTRIM(), RTRIM(), CHARINDEX(), REVERSE(), and FORMAT(), demonstrating their usage with examples to improve query performance and readability.
Scope Communication Object in JSP
Feb 28, 2025.
The Scope Communication object consist of session object, application object and pageContext object.
Understanding Escape Characters in .NET
Feb 21, 2025.
Escape characters in .NET, especially in C#, allow special characters to be represented within strings. They are used to format text, and include new lines (\n), tabs (\t), quotes (\"), and more.
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.
Boosting Performance with Lazy Loading in C# .NET Core
Jan 27, 2025.
Learn how to boost performance in C# .NET Core applications using lazy loading. This technique defers object initialization until needed, optimizing memory usage and improving load times.
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.
How To Find All Possible Subsets of a String Using C#
Jan 16, 2025.
This article covers step-by-step implementation, explaining algorithms like recursion and iteration to generate subsets effectively. Perfect for beginners and developers, enhance your string manipulation and problem-solving skills in C#.
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.
Using Regex in C# 9.0
Dec 28, 2024.
Regular Expressions (Regex) can help with text processing, validating data, and manipulating strings in C# 9.0. This article explains the key features, applications, and benefits of using Regex in your code.
Binary To Decimal Conversion in C#
Dec 27, 2024.
This article explains how to convert a binary number to a decimal number in C#. It covers two methods for the conversion, providing examples and code snippets. It's a helpful resource for beginners and intermediate programmers learning C#.
Decimal to Binary Conversion in C#
Dec 26, 2024.
Learn how to convert decimal to binary in C#. Understand decimal and binary numbers, explore examples, and implement a simple program. This guide is perfect for beginners and professionals preparing for interviews.
How to Reverse a String in Java
Dec 24, 2024.
Reversing a string in Java is a common task that involves reversing the order of characters in a string. For example, "Hello" becomes "olleH". To accomplish this in Java, we can use the StringBuilder class, which allows us to efficiently manipulate and reverse strings.
How To Count Occurrence Of Each Character From The String In C#
Dec 21, 2024.
Learn how to count the occurrence of each character in a string using C#. This guide covers step-by-step instructions to efficiently analyze strings and determine the frequency of individual characters.
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.
Connection String in ASP.NET Core MVC .NET 8
Dec 13, 2024.
Learn how to manage and use connection strings in applications, explore AppSettings.json, environment variables, and static classes, and understand their implementation with sample code for seamless database connectivity.
Character Occurrence in a String in C#
Dec 13, 2024.
In this article, I will discuss how to count the number of occurrences of a character in a string in C# with Examples. This article explores various ways to count character occurrences in a string using C#, including loops, dictionaries, and LINQ techniques, with detailed examples and practical explanations.
How To Reverse Each Word Of Given String
Dec 09, 2024.
This article demonstrates how to reverse each word in a string using C#. It provides a simple approach to solving this common interview question, with code examples and explanations.
Explaining Palindrome Program in C#
Dec 09, 2024.
In this article, I will discuss the Palindrome Program in C# (Palindrome Number and Palindrome String) with Examples. It includes detailed explanations and practical C# implementations.
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.
Take Input in Java using Scanner Class with Code
Dec 06, 2024.
Learn how to capture user input in Java using the Scanner class. This guide covers importing, creating Scanner objects, reading inputs (strings, integers, doubles), and handling exceptions with examples.
Palindrome String Program in C#
Dec 04, 2024.
Explore how to determine if a string is a palindrome in C#. Learn the concept and examples, and implement a simple solution to check palindrome strings for interview preparation.
How to Reverse a String in C#?
Dec 03, 2024.
Explore four methods to reverse a string in C#: using string.Reverse(), Array.Reverse(), for loop, and foreach loop. Ideal for interview preparation with practical examples and outputs.
Format Literal Strings in C#
Nov 26, 2024.
Different techniques to display special characters and add different types of formatting to the output. This article explores C# string literals, including regular, verbatim, and interpolated strings, escape sequences, and formatting techniques like composite formatting.
Webgrid and Gridview in ASP.NET Core and .NET Core Explained
Nov 21, 2024.
Learn dynamic paging and sorting in .NET Core using JavaScript and jQuery. Modify URLs with query strings for seamless server interaction, leveraging Bootstrap for responsive design and intuitive user experience.
.NET 9 Features with Code Example
Nov 19, 2024.
Learn how abstraction simplifies complex systems by unifying interfaces, abstract classes, and dependency injection. Build modular, maintainable, and testable applications with this comprehensive guide.
How to Sort a List of Objects in TypeScript by Property
Nov 09, 2024.
This guide covers sorting lists of objects in TypeScript, with examples for sorting by string, numeric, and date properties. It demonstrates using the sort() method, localeCompare for strings, custom sorting functions for dates and numbers, and multi-property sorting techniques.
Create a Model with Database Table in .NET 8 using EF Core
Oct 28, 2024.
This article guides you through creating a data-driven application using .NET 8 and Entity Framework Core. You'll learn to define a model, configure a DbContext, set up a SQL Server connection string, and use migrations to manage your database schema.
STRING_SPLIT() Ordinal New T-SQL Enhancements in SQL Server
Oct 16, 2024.
The STRING_SPLIT() function in SQL Server, introduced in 2016, allows for splitting delimited strings into rows. The 2022 enhancement introduces an optional ordinal parameter, enabling retrieval of each value's original position in the string.
Hidden Gems - Converting the Table Response Into String Variable
Oct 03, 2024.
Discover the hidden gems and best practices for effectively handling data within Microsoft Copilot. Enhance your AI-driven applications by learning essential techniques for data manipulation and integration.