You load an XML document named doc1 that has an attribute named EmployeeId. Which code fragment will set the value of EmployeeId to A23?
A. Doc1.CreateAttribute("EmployeeId", "A23");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?
A. Before opening the fileYour application requests FileIOPermission to open a file.
The permission is denied. Which type of exception will be thrown?
A. IOExceptionYou want to substitute values in a string that is displayed on the console.
Which code fragment will display "Hello, World"?
A. Console.WriteLine("Hello, [0]", "World")You create a custom exception class named MyCustomException that is derived from ApplicationException. Which code segment should you use to raise MyCustomException?

Which two classes in the .NET Framework can you use to open a file? (Each correct answer presents a complete solution. Choose two.)
A. System.IO.FileInfoWhich feature is available in both Microsoft Visual Basic .NET and C#?
A. Static classesType-safe code prevents:
A. Slow performance.Which standard allows data types to be interchanged among all Common Language Infrastructure (CLI) programming languages?
A. Virtual Execution System (VES)What is the characteristic of a delegate?
A. A tightly coupled eventNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 98-372 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.