Which two types of actions can trigger an event?
Which two types of actions can trigger an event? (Each correct answer presents a complete solution.
Choose two.)
Which code segment should you use?
You need to handle only SqlException exceptions. You also need to ensure that any other exception
flows back to the calling code. Which code segment should you use?
Which code segment should you use?
You write a method named DoWork. You need to log all exceptions that occur inside DoWork. You
also need to ensure that all exceptions are raised to the calling code. Which code segment should
you use?
Connection strings in the web.config file are:
Connection strings in the web.config file are:
which file does a .NET Windows application store information that has been customized for a particular instanc
In which file does a .NET Windows application store information that has been customized for a
particular instance of the application?
Which code segment should you use?
You need to force the position of the cursor on the screen at (15, 10). Which code segment should
you use?
When should you call the Flush() method?
You create a program that writes a status message to a file every 10 seconds. You need to ensure
that all data is written to the file before the file is closed. When should you call the Flush() method?
Which three code fragments will display "Hello" followed by a new line?
You want to insert a new line on the console. Which three code fragments will display “Hello”
followed by a new line? (Each correct answer presents a complete solution. Choose three.)
Which method will be called when a FileStream is collected by the garbage collector?
Which method will be called when a FileStream is collected by the garbage collector?
Which is the implied base type of the class?
You create a class that does not explicitly inherit from any base class. Which is the implied base type
of the class?