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
Смотрите видео Using ToLower() and ToUpper() in C# онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul D. Sheriff 06 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 132 раз и оно понравилось 2 людям.