Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore with deeper research into topics of this chapter.
Use the Web to answer the following questions:
string
?SecureString
?StringBuilder
?LinkedList
?SortedDictionary
class rather than a SortedList
class?Create a console application named Ch04_Exercise02
that prompts the user to enter a regular expression, and then prompts the user to enter some input and compare the two for a match until the user presses
Esc
:
The default regular expression checks for at least one digit. Enter a regular expression (or press ENTER to use the default): ^[a- z]+$ Enter some input: apples apples matches ^[a-z]+$? True Press ESC to end or any key to try again. Enter a regular expression (or press ENTER to use the default): ^[a- z]+$ Enter some input: abc123xyz abc123xyz matches ^[a-z]+$? False Press ESC to end or any key to try again.
Use the following links to read in more detail the topics covered in this chapter:
3.146.152.71