Workshop

The Workshop is designed to help you anticipate possible questions, review what you've learned, and get you thinking about how to put your knowledge into practice. The answers to the quiz are in Appendix A, “Answers to Quizzes/Exercises.”

Quiz

1:What data type would you use to hold currency values?
2:Which data type can be used to hold any kind of data and essentially serves as a generic data type?
3:What values does C# support for type bool?
4:What can you create to eliminate magic numbers by defining a literal value in one place?
5:What type of data element can you create in code that can have its value changed as many times as necessary?
6:What are the first and last indexes of an array dimensioned using string_strMyArray[5]?
7:What word ...

Get Sams Teach Yourself C#™ in 24 Hours 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.