Practicing and exploring
Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore with deeper research into topics of this chapter.
Exercise 4.1 – test your knowledge
Use the Web to answer the following questions:
- Does every assembly you create have a reference to the
mscorlib.dll
assembly? - What is the maximum number of characters that can be stored in a
string
? - When and why should you use a
SecureString
? - When should you use a
LinkedList
? - When should you use a
SortedDictionary
class rather than aSortedList
class? - Why should you not use the official standard for e-mail addresses to create a regular expression for validating a user's e-mail address?
Exercise 4.2 – practice regular expressions
Create a console ...
Get C# 6 and .NET Core 1.0: Modern Cross-Platform Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.