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(13)
Mahesh Chand(9)
Nipun Tomar(5)
Abhimanyu K Vatsa(4)
Jin Necesario(3)
subramanya m(3)
Vinoth Xavier(2)
David Mccarter(2)
Tanuj (1)
Varun Setia(1)
Sardar Mudassar Ali Khan (1)
Jay Krishna Reddy (1)
Saurabh Prajapati(1)
Jalpa Dhola(1)
Ishika Tiwari(1)
Shikha Tiwari(1)
Vijay Pratap Singh(1)
Anandu G Nath(1)
Gurpreet Arora(1)
Uday Dodiya(1)
Ziggy Rafiq(1)
Amit Mohanty(1)
Chris Love(1)
Shweta Lodha(1)
Jo Embedded(1)
Surya S(1)
Aashina Arora(1)
Kishor Bikram Oli(1)
Rathrola Prem Kumar(1)
Ravi Mandal(1)
Yatendra Sharma(1)
Muhammad Abdullah(1)
Vineet Kumar(1)
Arpit Jain(1)
Satendra Singh Bhati(1)
Ashwani Tyagi(1)
Anubhav Chaudhary(1)
Satya Prakash(1)
Sazid Mauhammad(1)
Vikas Mishra(1)
Mike Steward(1)
Karthikeyan Anbarasan(1)
Abdur Rehman(1)
Hirendra Sisodiya(1)
Mohammad Elsheimy(1)
Mamta M(1)
Bechir Bejaoui(1)
Dipal Choksi(1)
Mark Pelf(1)
Rinki (1)
George (1)
Vijay K(1)
Yash Ghatge(1)
Khawar Islam(1)
Ranjit Powar(1)
Gagan Sikri(1)
Rahul Bansal(1)
Rajeev Ranjan(1)
Abhishek Yadav(1)
Shivprasad (1)
C# Curator(1)
Marc Dommers(1)
S Thangaraju(1)
Riya Patel(1)
Saurav Kumar(1)
Aarav Patel(1)
Ketan Sathavara(1)
Resources
No resource found
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.
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!
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.
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.
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.
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.
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.
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.
Palindrome Check: Normalize Strings in C#
Sep 30, 2024.
Learn essential string manipulation techniques, including whitespace removal, case insensitivity, and character comparison. We’ll provide clear code examples and algorithms to efficiently determine if a given string reads the same forwards and backwards, enhancing your C# programming skills.
Arrays of Strings in Multidimensional Arrays
Sep 09, 2024.
Multidimensional arrays store data in multiple levels, enabling complex data structures like arrays of strings. This guide explores how to create, access, and manipulate string arrays within multidimensional arrays.
Exploring Anagram Strings in C#
Apr 26, 2024.
An anagram of a string is another string that uses the same characters but in a different order. This article delves into solving anagrams using C#, exploring methods like sorting characters, frequency counting, and even employing the bubble sort algorithm.
Concatenate Two Strings in C#
Jan 17, 2024.
In C#, string concatenation can be achieved using the + operator, String.Concat method, String.Join method, or string interpolation. Choose the method that suits your coding style and project requirements.
Constant Interpolated Strings in C#
Aug 18, 2023.
Explore interpolated strings in C#, a powerful feature for expressive string formatting. Learn about constant interpolated strings introduced in C# 10, enhancing readability and performance. Understand benefits, use cases, and considerations for improved code quality and maintainability.
Converting Strings to Numbers in C#
Aug 04, 2023.
In this article we learn about how to convert string to numbers in c#
Converting Strings in C#: JSON, Base64, XML, CSV and Reverse
Jul 19, 2023.
Discover Ziggy Rafiq's comprehensive guide on converting strings to JSON, Base64, XML, and CSV formats using C#. Plus, learn how to reverse the process effortlessly. Don't miss out on this must-read article!
Globalizing Strings in Microsoft .NET with the Multilingual App Toolkit
May 02, 2023.
In this article, I will demonstrate how to do this and introduce you to the Multilingual App Toolkit, which makes string translation fast and cost-effective. It was so simple that I only needed a few hours (including my learning curve) to convert the Spargine Dev Tool to Danish, Hindi, and Spanish.
Using C# 12's Interpolated Strings For More Concise And Readable Code
Apr 19, 2023.
Using C# 12's Interpolated Strings for More Concise and Readable Code
The Ultimate Guide to Converting Strings to Numbers in JavaScript
Mar 12, 2023.
Looking to convert strings to numbers in JavaScript? Our comprehensive guide covers various methods, including type coercion, parseInt, and more! Perfect for software developers.
Ways To Align Text Strings In Python
Sep 13, 2022.
This article explains about the various ways to align strings in Python.
Introduction To Strings In Python
Feb 28, 2022.
Tackles Python strings' basics and practical use and demonstrates their usages
A Simple Crypto-Safe For Strings In C#
Jan 18, 2022.
Software often has to store small amounts of data locally but with reliable protection. Such a "vault" can be built with a few lines of C#.
Learn About Strings in Python
Apr 21, 2020.
In this article, I will explain strings in Python.
Playing With C# Strings Instance Methods
Nov 12, 2019.
String manipulation is one of the favorite subjects of developers when learning C#. In this article, we are going to focus on string instance methods. We might not cover every method, but most of the common ones will be tackled.
Comparing Strings with Globalization and Performance in .NET
Nov 12, 2019.
Efficiently compare strings in .NET considering globalization for culture-aware operations. Optimize performance by selecting appropriate StringComparison and CultureInfo options, ensuring accurate and efficient text processing in diverse linguistic environments.
Playing With Strings And Bytes/Byte - Arrays C#
Aug 19, 2019.
In this article, you will learn about playing with strings and Bytes/Byte - Arrays C#.
Learn About Strings In Python
Aug 16, 2019.
In this Python String tutorial, we will learn what Strings are and how they are used in Python, how to traverse a string, what are String Operators and Methods, and how these can be used for string manipulation n Python.
6 Effective Ways To Concatenate Strings In C#
Oct 15, 2018.
Code examples of the most effective ways to concatenate strings in C#.
Android Kotlin - Strings And Ranges - Part Three
Mar 20, 2018.
In this article, we are going to learn about Strings and Ranges in Kotlin with string methods.
How To Create Dynamic Strings In C#
Mar 11, 2017.
In this article, we shall see how to create dynamic strings in C#.
Defining and Using Connection Strings in Azure Websites
Sep 02, 2015.
In this article you will learn how to define and use Connection Strings in Azure Websites.
How To Use Query Strings In ASP.NET
Jun 05, 2015.
In this article, we will learn how to use Query Strings in ASP.NET Websites.
How to Add Strings in C#
May 20, 2015.
This article explains how to add two strings in C#.
Why Strings Are Immutable in .Net
Mar 13, 2015.
Explore the concept of immutable strings in .NET, understanding how strings are allocated in memory, and why they are immutable. Learn how immutability enhances memory management, prevents race conditions in multi-threaded applications, and optimizes hash table usage.
Binding List Box and List Of Strings in Windows Phone 8
Mar 10, 2014.
In this article we will learn how to bind a list of strings with a List Box in Windows Phone 8.
Formatting of Strings in Java
Oct 25, 2013.
In this article you will learn about the formatting of strings in Java.
Standard Numeric Format Strings in LightSwitch 2012
Oct 22, 2013.
This article describes how to use Standard Numeric Format Strings in LightSwitch Visual Studio 2012.
Filter Data By a Set of Strings Using Knockoutjs in ASP.Net Application
Sep 24, 2013.
This article explains how to filter data according to a set of strings using Knokcoutjs in an ASP.NET Application.
Split and Merge Strings in C# Windows Form Application
Mar 09, 2013.
In this article I will describe how to split and merge string value in windows form application in c#.
Addition of Three Strings Using Single Activity In Android
Feb 01, 2013.
Here I am telling you how to add two or more strings in Androidif we want output in the current Activity.
Working With Strings in JSP
Feb 06, 2012.
In this article I am going to describe how to work with Strings in JSP. Strings, which are widely used in Java programming, are a sequence of characters.
Work with Strings in PHP
Dec 05, 2011.
PHP is a hypertext-preprocessor. In PHP, a string can be used directly in a function or it can be stored in a variable. With a string variable we can store and manipulate text.
SQL Azure - Getting Connection Strings Generated in Azure Portal
Jun 16, 2011.
In this article we are going to see how to get the connection string for the newly created SQL Azure Database using the Management portal in SQL Azure.
Connection Strings for All Databases
Feb 17, 2011.
This article shows step by step different ways to get connection strings for all types of databases. The article is written for all type of users, beginners, intermediate, experienced
Verbatim strings in C# - Use of @ symbol in string literals
Feb 04, 2011.
In this article we will understand use of the @ symbol in C# strings.
Connection Strings for SQL Server Compact Edition
Dec 22, 2010.
SQL Server Compact Edition (SQL CE) is a compact relational database produced by Microsoft for applications that run on mobile devices and desktops.
Connection strings for IBM DB2
Dec 21, 2010.
IBM DB2 primarily runs on Unix, Linux IBM I, z/OS, and windows server. It is a relational database management system that comes in a variety of versions, running on devices ranging from handhelds to mainframes.
Connection Strings for SQL Server 2005
Dec 20, 2010.
SQL Server 2005 includes native support for managing XML data, in addition to relational data. It introduced MARS (Multiple Active Result Sets), a method of allowing usage of database connections for multiple purposes. It also introduced data mirroring and DMVs (Dynamic Management Views).
Connection Strings for SQL Server 2008
Dec 20, 2010.
SQL Server 2008 includes better compression features, which also helps in improving scalability. It enhanced the indexing algorithms and introduced the notion of filtered indexes. It includes capabilities for transparent encryption of data (TDE) as well as compression of backups.
Connection Strings for SQL Server 2000
Dec 20, 2010.
Microsoft SQL Server 2000 is an application used to create computer databases for the Microsoft Windows family of server operating systems. Microsoft SQL Server provides an environment used to generate databases that can be accessed from workstations, the Internet, or other media such as a personal digital assistant (PDA).
Padding Strings In C#
Aug 21, 2010.
This code snippet shows how to pad strings in C# and .net core. Padding in the string is adding a space or other character at the beginning or end of a string. String class has String.PadLeft() and String.PadRight() methods to pad strings in left and right sides.
Uppercase and Lowercase Strings in C#
Aug 21, 2010.
C# String has ToUpper() and ToLower() methods to convert a string to uppercase and lowercase. This sample code demonstrates how to convert a string into lowercase string or uppercase string in C#.
How To Compare Strings In C#
Aug 21, 2010.
Code examples of compare strings in C# using String.Equals, String.Compare, String.CompareTo() method, and StringComparer.
Working with Strings with Combining Characters
Apr 01, 2010.
In this article we will see the working of strings with combining characters (like diacritics in Arabic).
Working with Text and Strings in GDI+
Dec 27, 2009.
In this article I will explain about Working with Text and Strings in GDI+.
Storing and Retrieving Connection Strings in ASP.NET 2.0/3.5
Nov 04, 2008.
This article demonstrates how to store database connection strings in Web.config in ASP.NET 2.0/3.5 and retrieve it for creating connection objects.
Add and handle connection strings in an application configuration file: Part I
Apr 17, 2008.
There are two ways to save data and parameters. In this case we save application parameters like information entered by the user during the installation process.
Encrypting Connection Strings in ASP.Net 2.0
Oct 05, 2006.
This article describes how to encrypt the connection strings section in ASP.Net 2.0 web.config files and demonstrates the transperancy of using encrypted connection strings in your web application.
Working with Strings in VB.NET
Feb 05, 2002.
This article is VB.NET version of Working with Strings in .NET using C#.
Count Substrings with More 1's than 0's
Jul 04, 2026.
Efficiently count binary substrings with more 1s than 0s using prefix sums and Fenwick trees in O(N log N) time.
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.
Multilingual Application with single Resx file - Forms Validation Strings
Apr 01, 2024.
Learn how to create multilingual applications using ASP.NET 8 in this third part of our series. Explore efficient techniques for managing form validation strings using a single Resx file, ensuring seamless user experience across different languages.
Strings In Rust
Apr 27, 2023.
In this article, we discuss what is a string in Rust, the type of string in Rust, and how to use them.
Get Common SubString From Two Strings
Oct 03, 2021.
In this article, you will learn how to get a common SubString from two strings.
Strings And Characters In Swift
May 28, 2020.
In this article, you will learn about String operations and working with strings.
Strings In Python
Jul 06, 2019.
Python string. In this article, I am going to explain how we can manipulate strings in Python.
Strings In Swift Programming Language
Jul 10, 2016.
In this article, you will learn about Strings In Swift Programming Language.
JavaScript Strings
Jan 28, 2016.
In this article we will learn about the properties and methods of string in JavaScript.
Jump Start With Python - Part 4 (Strings)
Dec 10, 2015.
This article explains how to get started with programming in Python. This is part 4 of the series.
All Possible Unique Substrings From an Input String
Mar 27, 2015.
In this article we will learn about the substrings in the C# programming.
Strings in C#
Sep 22, 2014.
In this article we will learn about strings in the C# language.
Strings in C# .NET
Sep 05, 2014.
This article provides a brief introduction to Strings in C# .NET.
Demystifying: What does “Strings are immutable” means?
May 21, 2012.
In this article we will explain about String and StringBuffer.
Strings in C# - Part 3
Aug 09, 2011.
In this article you will learn Escape characters and Verbatim Strings in C#.
Strings in C# - Part 4
Aug 09, 2011.
In this article you will learn how to use StringBuilder in C#.
Strings in C#: Part 2
Aug 05, 2011.
In this article you will learn string manipulations in C#.
Strings in C#: Part 1
Aug 02, 2011.
In this post you will learn string manipulations in C#.
Strings in C#
Jan 24, 2010.
In this article I will explain you about Strings in C#.
Calculating the normalized compression distance between two strings
Jan 20, 2009.
The normalized compression distance (NCD) is a mathematical tool to cluster any objects that are similar. Besides, this article discusses the use of two RichTextBox controls for pasting and copying of text. It also introduces the use of the ContextMenuStrip control.
String in C# - A Complete Tutorial On C# Strings
Feb 05, 2003.
C# string is a common data type in C#. This tutorial teaches how to work with strings in C#.
Strings in C# Part 2
Feb 05, 2003.
This article discusses how to format, trim and pad strings using the String class. The article also covers the StringBuilder to effectively deal with string such as string concatenation,
Playing with Strings
Sep 18, 2001.
This program explores the String class and its various methods. With this you will be able to initialize strings using different constructors and use them. To see how the methods of the 'String' class work, see the following code.
Effective C#: Working with Strings
Mar 12, 2001.
Using string might degrade the performance of your application. This article explains about what precautions you should take when you are going to use strings in your application.
Shortest Unique Prefix for Every Word (Trie)
Jul 20, 2026.
Discover the shortest unique prefix for every word in an array using a Trie. Efficiently identify distinct word beginnings with this optimized algorithm.
Ways to Increase LCS by One (Dynamic Programming)
Jul 03, 2026.
Master dynamic programming to efficiently count LCS increases. Learn prefix/suffix DP for O(nm) solutions, avoiding brute-force recomputation.
Count Matching Subsequences Using Dynamic Programming in Java
Jun 26, 2026.
Learn how to solve the Count Matching Subsequences problem using Dynamic Programming in Java with an O(n × m) approach, explanation, examples, and code.
Equal Point in Brackets
Jun 11, 2026.
Find the optimal split point in bracket strings where opening brackets left equal closing brackets right. Efficient O(n) solution.
Lexicographically Smallest String after Removing k Characters
Jun 08, 2026.
A greedy stack-based problem where we adjust k based on string length and remove characters to form the lexicographically smallest string possible. The solution uses monotonic stack technique for optimal character removal.
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.
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!
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.
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.