Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C# String Methods Tutorial for Beginners

CodeBeauty via YouTube

Overview

Learn essential string manipulation techniques in C# through this comprehensive programming tutorial. Explore string comparison using operators and the Equals method, convert strings to uppercase or lowercase, and transform numbers to strings with ToString. Discover the differences between number and string datatypes, and master searching for specific terms using Contains and IndexOf methods. Gain proficiency in extracting substrings, checking string start and end patterns, replacing parts of strings, removing whitespace, and splitting strings into arrays. Perfect for beginners, this video provides practical examples and tips for working with strings in C#, equipping you with fundamental skills for effective programming.

Syllabus

- How to compare two strings using operators
- Where to learn programming
- Compare strings using Equals method
- How to convert string to uppercase or lowercase
- How to convert a number to a string using ToString method
- Difference between number and string datatypes
- How to search for specific terms using Contains method
- How to search for specific terms using IndexOf method
- How to get a substring using Substring method
- How to check the starting string using StartsWith method
- How to check the ending string using EndsWith method
- How to replace part of the string using Replace method
- How to remove whitespace using Trim method
- How to split a string using Split method

Taught by

CodeBeauty

Reviews

Start your review of C# String Methods Tutorial for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.