Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)

15.6. Quiz

Question 21 .

What is the difference between string and String (lower- and uppercase)?

Question 22 .

Some of the interfaces implemented by the string are: IComparable , ICloneable , IConvertible and IEnumerable . What do these guarantee to you as a client of the String class?

Question 23 .

What is a string literal?

Question 24 .

What is the purpose of escape characters ? Give two examples.

Question 25 .

What are verbatim strings?

Question 26 .

What does it mean that strings are immutable?

Question 27 .

What does it mean that the String class is sealed?

Question 28 .

What are the two ways to concatenate strings?

Question 29 .

What does Split( ) do?

Question 210 .

What is the StringBuilder class, why is it used, and how do you create a string with one?

Question 211 .

What are regular expressions?

Категории