O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Self-Review Exercises

3.1 Fill in the blanks in each of the following statements:

a) A(n) ________ begins the body of every method, and a(n) ________ ends the body of every method.

b) Most statements end with a(n) ________.

c) The ________ statement is used to make decisions.

d) ________ begins a single-line comment.

e) ________, ________ and ________ are called whitespace characters. Newline characters are also considered whitespace characters.

f) ________ are reserved for use by C#.

g) C# apps begin execution at method ________.

h) Methods ________ and ________ display information in the console window.

3.2 State whether each of the following is true or false. If false, explain why.

a) Comments cause the computer to display the text after the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required