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:True or False: You have to know the start and end values of a for loop at design time to use this type of loop.
2:Is it possible to nest loops?
3:What type of loop would you most likely need to create if you didn't have any idea how many times the loop would need to occur?
4:If you evaluate the expression in a do…while on the while statement, is it possible that the code within the loop may never execute?
5:What statement do you use to terminate a do…while without evaluating the expression on the ...

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.