Related resources for C# string
  • Verbatim String Literals vs Raw String Literals in C#5/27/2024 9:31:20 AM. String handling is a crucial aspect of programming, and C# provides multiple ways to manage strings effectively. This article compares verbatim string literals and raw string literals, highlighting th
  • Understanding ToString() vs Convert.ToString() in C#5/23/2024 10:30:46 AM. In C#, both ToString() and Convert.ToString() are used to convert objects to their string representation. However, they have different usages and behavior. Understanding the differences between these
  • Comparing Strings with Globalization and Performance in .NET4/15/2024 11:44:26 AM. Efficiently compare strings in .NET considering globalization for culture-aware operations. Optimize performance by selecting appropriate StringComparison and CultureInfo options, ensuring accurate an
  • String vs StringBuilder in C# with Example3/29/2024 10:53:45 AM. In this article, we have explained the difference between String and StringBuilder in C# with example. Know the basic knowledge of String and StringBuilder in C#.
  • Handling JSON in C#3/16/2024 11:01:45 AM. C# provides seamless JSON handling with System.Text.Json. Easily parse JSON strings into C# objects and vice versa for efficient data manipulation.
  • 6 Effective Ways To Concatenate Strings In C#10/28/2023 11:56:13 AM. Code examples of the most effective ways to concatenate strings in C#.
  • String Interpolation In C#10/28/2023 11:34:54 AM. C# string interpolation is used to format and manipulate strings. This feature was introduced in C# 6. Using string interpolation, we can use objects and expressions as a part of the string interpolat
  • Working With JSON String In C#9/17/2023 10:40:48 PM. In this article you will learn how to work with C# JSON string. JSON is a lightweight data interchange format. JSON is language independent, easy to understand and self-describing. C# json parser code
  • Top C# String Technical Interview Questions8/29/2023 8:38:19 AM. This article will demonstrate you, top 10 C# string technical interview questions and their solutions.
  • How to remove duplicate words from string in C#4/15/2023 4:04:48 AM. This article covers all possible methods of removing duplicate words from string in C# with code examples and explanations.
  • Convert an Enum to a String in C#2/21/2023 12:24:48 PM. This code example shows how to convert an enum to a string in C#.
  • Convert char array to string in C#2/21/2023 12:22:11 PM. How to Convert char array to string using C#. The string class constructor takes an array of characters to create a new string from an array of characters.
  • C# StringBuilder Tutorial With Code Examples2/10/2023 4:44:45 AM. C# StringBuilder is useful for concatenating multiple strings. The code examples demonstrate how to use a StringBuilder in C#.
  • How To Use A String Collection in C#2/9/2023 3:28:46 PM. StringCollection is a collection of strings. In this article, learn how to take advantages of StringCollection methods and properties to manage a collection of strings. StringCollection class
  • Convert Byte Array To String In C#2/9/2023 8:10:49 AM. Learn to convert a C# byte array to a string in C# and .NET Core. Code example included.
  • Padding Strings In C#2/9/2023 7:48:39 AM. 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 St
  • StringBuilder and String Concatenation2/9/2023 6:48:35 AM. C# String Builder represented by the StringBuilder class in c# is used to concatenate strings in C# and provides string modifications methods including StringBuilder.Append(), StringBuilder.Remove(),
  • How To Replace Characters In A C# String2/8/2023 4:12:14 AM. In this article, you will learn how to replace a substring in a C# string.
  • Reverse Words In A String In C#11/7/2022 6:24:29 AM. Given a string s, reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.
  • Playing With C# Strings Instance Methods11/12/2019 7:55:40 AM. 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
  • C# String Interning For Efficient String Comparison4/13/2019 11:17:39 AM. In this article, we are going to cover String Interning - A very important feature of .NET Framework from the perspective of string comparison.
  • String is Immutable in C#5/4/2014 11:49:54 AM. Here we learn the behavior of strings, in terms of their performance, especially when an operation is performed on it, like we append a string to it.