About 2,100,000 results
Open links in new tab
  1. C# String (With Examples) - Programiz

    String Operations . C# string provides various methods to perform different operations on strings. We will look into some of the commonly used string operations. 1. Get the Length of a string. To find the length of a string, we use the Length property. For example,

  2. Strings - C# | Microsoft Learn

    Nov 22, 2024 · In C#, the string keyword is an alias for String; therefore, String and string are equivalent. Use the provided alias string as it works even without using System;. The String class provides many methods for safely creating, manipulating, and comparing strings.

  3. C# Strings - W3Schools

    A string in C# is actually an object, which contain properties and methods that can perform certain operations on strings. For example, the length of a string can be found with the Length property: Example

  4. C# Strings - GeeksforGeeks

    Mar 4, 2025 · There are multiple String Operations which we can perform in String in C#. Let us demonstrate the operations using the example as mentioned below: Example 1: For performing string operation of interpolation.

  5. String in C# - A Complete Tutorial On C# Strings - C# Corner

    You can perform various operations on strings in C#, such as concatenation, trimming, and formatting. This tutorial teaches you fundamentals of string data type in C# and how to perform various operations on strings in C#.

  6. String in C# with Examples - Dot Net Tutorials

    In C#, the string is an object of the String class that represents a sequence of characters. We can perform many operations on strings such as concatenation, comparison, getting substring, search, trim, replacement, etc.

  7. C# String Functions and Properties

    How to use C# string function in programming? What is the difference between string and String? In C# programming, string is another kind of data type that represents Unicode Characters. It is the alias of System.String, however, you can also write System.String instead of a string.

  8. C# String Programs - Sanfoundry

    Here is the best collection of C# programs on strings, string operations like concatenation, comparison, search, split, trim, delete, split and replace.

  9. C# String Tutorial – String Methods With Code Examples

    Apr 1, 2025 · In This Tutorial, We Will Discuss Some of The Most Commonly Used String Methods in C#: In C#, the string is represented as a sequence of characters. It is an object of System.String class. C# allows the users to perform different operations on a string such as a substring, trim, concatenate, etc.

  10. Work With Strings in C# - (String Methods with Examples)

    Dec 16, 2021 · FInd out how to work with strings in C# project, what type of String Methods in C# exists, and how to use them through examples.

  11. Some results have been removed
Refresh