Export (0) Print
Expand All

Strings (C# Programming Guide)

The following sections discuss the string data type, which is an alias for the String class.

String Basics (C# Programming Guide)

Describes the concept of strings in C#.

How to: Modify String Contents (C# Programming Guide)

Provides a code example that illustrates how to modify the contents of strings.

How to: Concatenate Multiple Strings (C# Programming Guide)

Illustrates how to use the + operator and the Stringbuilder class to join strings together at compile time and run time.

How to: Compare Strings (C# Programming Guide)

Shows how to perform ordinal comparisons of strings.

How to: Split Strings (C# Programming Guide)

Contains a code example that illustrates how to use the String.Split method to parse strings.

How to: Search Strings Using String Methods (C# Programming Guide)

Explains how to use specific methods to search strings.

How to: Search Strings Using Regular Expressions (C# Programming Guide)

Explains how to use regular expressions to search strings.

How to: Determine Whether a String Represents a Numeric Value (C# Programming Guide)

Shows how to safely parse a string to see whether it has a valid numeric value.

How to: Convert a String to a DateTime (C# Programming Guide)

Shows how to convert a string such as "01/24/2008" to a System.DateTime object.

Basic String Operations

Provides links to topics that explain basic string operations.

Comparing Strings

Includes information about how to compare strings and provides examples in C# and Visual Basic.

LINQ and Strings

Provides information about how to perform various string operations by using LINQ queries.

C# Programming Guide

Provides links to topics that explain programming constructs in C#.

Community Additions

ADD
Show:
© 2014 Microsoft