Contains Methods in the C# String Class

Published: 11 April 2024
on channel: Paul D. Sheriff
108
3

Lesson: Contains Methods in the C# String Class
Technologies: C# and .NET Core

Lesson Description
In this lesson you learn to use methods to see if one string is contained within another. The C# String class has three methods; Contains(), EndsWith(), and StartsWith().

Contents
Introduction 00:00
Prerequisites 00:38
Lesson Objectives 00:43
The String Class Contains Methods 00:54
DEMO: Using the String.Contains() Method in C# 01:14
DEMO: Using the String.StartsWith() Method in C# 02:58
DEMO: Using the String.EndsWith() Method in C# 04:11

Helpful Links
Samples and hands-on labs for this course: https://www.pdsa.com/YouTube

String Class
https://learn.microsoft.com/en-us/dot...

String.Contains Method
https://learn.microsoft.com/en-us/dot...

String.EndsWith Method
https://learn.microsoft.com/en-us/dot...

String.StartsWith Method
https://learn.microsoft.com/en-us/dot...

#csharp #string #stringhandling #contains #startswith #endswith #dotnet #dotnetcore #pauldsheriff #pdsa #pluralsight #youtube

Paul.About()
Hello, my name is Paul D. Sheriff and I have a passion for teaching. I have been training developers for over 35 years through books, videos, article, blog posts, and international conferences and user groups.

Paul.Contact()
Website: https://www.pdsa.com
Email: [email protected]
LinkedIn:   / paulsheriff  
Blog: https://blogs.pdsa.com/
Pluralsight: https://app.pluralsight.com/profile/a...
YouTube Channel: @pauldsheriff


Watch video Contains Methods in the C# String Class online without registration, duration hours minute second in high quality. This video was added by user Paul D. Sheriff 11 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 108 once and liked it 3 people.