Skip to content

Glossary: C# Basics

String methods

Also written: Trim, ToUpper, ToLower, Contains, StartsWith, EndsWith, Replace, IndexOf, Substring, Length

Built-in actions on strings such as `Trim` for removing end spaces and `IndexOf` for finding where text starts. `Length` is a property giving the number of characters.

Where the book teaches it

Related terms

MethodPropertyIndex