Using ToLower() and ToUpper() in C#

Published: 06 March 2024
on channel: Paul D. Sheriff
132
2

Lesson: Using ToLower() and ToUpper() in C#
Technologies: C# and .NET Core

Lesson Description
In this lesson you learn to change words in a sentence into different cases. Use the ToUpper() to make all words upper case, and ToLower() to make them all lower case. You also learn the ToUpperInvariant() and ToLowerInvariant() methods. In addition, techniques to determine if a string is all lower or all upper case are explored.

Contents
Introduction 00:00
Prerequisites 00:08
Lesson Objectives 00:13
DEMO: Using the ToLower() and ToLowerInvariant() Methods 00:37
DEMO: Using the ToUpper() and ToUpperInvariant() Methods 01:50
DEMO: Is All Upper Case 02:22
DEMO: Is All Lower Case 03:13
DEMO: Use a Regular Expression to Determine Case 03:47

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

ToLower() Method
https://learn.microsoft.com/en-us/dot...

ToLowerInvariant() Method
https://learn.microsoft.com/en-us/dot...

ToUpper() Method
https://learn.microsoft.com/en-us/dot...

ToUpperInvariant() Method
https://learn.microsoft.com/en-us/dot...

String Handling Best Practices
https://learn.microsoft.com/en-us/dot...

Regular Expressions
https://learn.microsoft.com/en-us/dot...

#csharp #string #toupper #tolower #tolowerinvariant #toupperinvariant #totitlecase #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 Using ToLower() and ToUpper() in C# online without registration, duration hours minute second in high quality. This video was added by user Paul D. Sheriff 06 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 132 once and liked it 2 people.