Answers for Hour 16

   

Answers to Hour 16

1:

What type of error prevents C# from compiling and running code?

A1:

A build error

2:

What is the name of a runtime error: an error that usually occurs as a result of attempting to process inappropriate data?

A2:

An exception

3:

What character is used to denote a single line comment?

A3:

The double slashes character (//)

4:

To halt execution at a specific statement in code, you set a what?

A4:

Break point

5:

Explain the yellow arrow and red circles that can appear in the gray area in the code editor.

A5:

The yellow arrow denotes the next statement to be processed . Red circles are used to mark break points.

6:

What IDE window would you use to poll the contents of a variable in Break mode?

A6:

The Command window

7:

True or False: You must always specify a catch section in a try structure.

A7:

False


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net