Cs321 Winter 2023 Lecture 3 Strings
Cs321 Winter 2023 Lecture 3 Strings
What
parts are What is it
Advice
confusing doing?
?
Why is
each
symbol or
element
there?
Test Projects: A special kind of
library
Test Projects
Some methods have the form While others have the form
“expression.FunctionName(<a “typename.FunctionName(<ar
rgs>)” gs>)”
Char is not an expression
• The word “Char” is the name of a type
• More specifically a class within the namespace
• You cannot use it where you would an expression:
But you can use it to call static
methods
• Char.IsControl
• Char.IsLetterOrDigit
• Char.IsUpper
• Char.IsWhitespace
• Etc.