Microsoft 98-372 Actual Free Exam Questions & Community Discussion
Which describes the characteristic of the interoperability of the .NET Framework?
Correct Answer: A
Vote an answer
You define a method according to the following code segment. (Line numbers are included for reference only.)

Where should you insert code that must be executed, regardless of whether or not an error is thrown?

Where should you insert code that must be executed, regardless of whether or not an error is thrown?
Correct Answer: B
Vote an answer
Where are the command line arguments stored for a console application?
Correct Answer: D
Vote an answer
You need to encrypt data by using a public key and a private key.
Which .NET class should you use?
Which .NET class should you use?
Correct Answer: A
Vote an answer
You create an unmanaged object and use the object. You no longer need the object.
What should you do?
What should you do?
Correct Answer: B
Vote an answer
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?
Correct Answer: C
Vote an answer
Your application requests FileIOPermission to open a file. The permission is denied. Which type of exception will be thrown?
Correct Answer: B
Vote an answer
You want to create a class named ShoppingCart that has a type argument named TItem. The TItem type argument must be a value type.
Which code segment should you use to define the ShoppingCart class?

Which code segment should you use to define the ShoppingCart class?

Correct Answer: D
Vote an answer
You create a custom exception class named MyCustomException that is derived from ApplicationException.
Which code segment should you use to raise MyCustomException?

Which code segment should you use to raise MyCustomException?

Correct Answer: A
Vote an answer
You need to suspend the current thread until all Finalize() methods have been processed.
Which garbage collection method should you use?
Which garbage collection method should you use?
Correct Answer: D
Vote an answer
0
0
0
10

