New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 121-130

Ensurepass  Question 121 What are the steps required to read text from a file?     Correct Answer:     Question 122 Which element is NOT required if you need a custom class to raise an event?   A method to add an event handler A class containing event data, derived from EventArgs A delegate […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 101-110

EnsurepassQuestion 101 You create an XML document that has an XmlNode named node1. Which code fragment will read the XML contained in node1 and its subnodes?   Node1.ToString (); Node1.OuterXml; Node1.InnerXml; Node1.InnerXext; Node1.Value; Correct Answer: B     Question 102 You need to find out whether the active Windows user of an application is a […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 111-120

EnsurepassQuestion 111 Which describes an interface?   Allows managed code to access unmanaged code. Contains code that implements properties, methods, and events. A template that defines a set of properties, methods, and events. Can be changed after it has been published.   Correct Answer: C     Question 112 Which type of casting enforces type […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 91-100

EnsurepassQuestion 91 Which three characteristics define the identity of an assembly? (Each correct answer presents part of the solution. Choose three.)   Simple text name File size File creation date Culture information Version number   Correct Answer: ADE     Question 92 .NET managed code compiles into:   Assembly language. Common Intermediate Language (CIL). Extensible […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 71-80

EnsurepassQuestion 71 You create a custom exception class named MyCustomException that is derived from ApplicationException. Which code segment should you use to raise MyCustomException?                   Correct Answer: B     Question 72 Custom event delegates are used to:   Raise one or more custom events Handle errors […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 81-90

EnsurepassQuestion 81 You need to force an immediate garbage collection of all unused memory. Which method should you use?   WaitForFullGCComplete SuppressFinalize CollectionCount Collect Correct Answer: D     Question 82 Where is dynamic memory allocated?   Text segment Code segment Stack Heap   Correct Answer: D     Question 83 You need to configure […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 61-70

EnsurepassQuestion 61 You create an ArrayList object. You need to ensure that only objects of the System.DateTime type can be added to the collection. What should you do?   Use a Hashtable collection. Use the ToString() method on objects that you add to the ArrayList. Use a List<T> collection. Restrict the ArrayList variable to a […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 51-60

EnsurepassQuestion 51 Which two types of actions can trigger an event? (Each correct answer presents a complete solution. Choose two.)   User intervention, such as a mouse click. Some other program logic, such as a call to the program module. Declaring the signature of the delegate. Adding a delegate keyword.   Correct Answer: AC   […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 41-50

EnsurepassQuestion 41 Type-safe code accesses only the memory locations:   It is authorized to access. Of objects on the heap. Of objects that are static or shared. Of objects on the stack.   Correct Answer: A     Question 42 A type-safe language prevents:   Access to arbitrary memory locations. Memory leaks. Null reference exceptions. […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 31-40

EnsurepassQuestion 31 You need to retrieve an assembly’s Version property. Which class should you use?   AssemblyName MemberInfo Assembly OperatingSystem   Correct Answer: A     Question 32 You have created a program that writes status updates into a file. You want to modify the file. You need to ensure that other users can view […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 21-30

EnsurepassQuestion 21 Which two actions should you perform to consume events defined in another class? (Each correct answer presents part of the solution. Choose two.)   Define a method that raises the event. Set the current class as a sealed class. Place a reference to the consuming class in the class that raises the event. […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 11-20

EnsurepassQuestion 11 Which describes the effect of applying the protected accessibility modifier to a method?   The method is available to all classes derived from the declaring class. The method is available only to other methods in the same class. The method cannot be overridden in child classes. The method is available only to classes […]

New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 1-10

EnsurepassQuestion 1 Which collection enforces type safety?   Queue Hashtable ArrayList List<T>   Correct Answer: D     Question 2 You need to trace the execution of an application that contains C# code and Microsoft Visual Basic .NET code. Which tool should you use?   Machine Debug Manager Remote Debug Monitor Microsoft Visual Studio CLR […]