[Free] Get all latest Microsoft 98-372 Actual Tests 121-130

EnsurepassQuestion 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.      A method to add an event handler B.      A class containing event data, derived from EventArgs C.      A delegate for the event D.      A class raising the event   Correct Read more […]

[Free] Get all latest Microsoft 98-372 Actual Tests 111-120

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

[Free] Get all latest Microsoft 98-372 Actual Tests 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?   A.      Node1.ToString (); B.      Node1.OuterXml; C.      Node1.InnerXml; D.      Node1.InnerXext; E.       Node1.Value;   Correct Answer: B     Question 102 You need to find out whether the Read more […]

[Free] Get all latest Microsoft 98-372 Actual Tests 91-100

EnsurepassQuestion 91 Which three characteristics define the identity of an assembly? (Each correct answer presents part of the solution. Choose three.)   A.      Simple text name B.      File size C.      File creation date D.      Culture information E.       Version number   Correct Answer: ADE     Question 92 .NET managed code compiles into:   Read more […]

[Free] Get all latest Microsoft 98-372 Actual Tests 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?   A.          B.          C.          D.          Correct Answer: B     Question 72 Custom event delegates are used to:   A.      Read more […]

[Free] Get all latest Microsoft 98-372 Actual Tests 81-90

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

[Free] Get all latest Microsoft 98-372 Actual Tests 51-60

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

[Free] Get all latest Microsoft 98-372 Actual Tests 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?   A.      Use a Hashtable collection. B.      Use the ToString() method on objects that you add to the ArrayList. C.      Use a List<T> collection. D.      Restrict the ArrayList variable to a capacity of 16 items.   Read more […]

[Free] Get all latest Microsoft 98-372 Actual Tests 41-50

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

[Free] Get all latest Microsoft 98-372 Actual Tests 31-40

EnsurepassQuestion 31 You need to retrieve an assembly’s Version property. Which class should you use?   A.      AssemblyName B.      MemberInfo C.      Assembly D.      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 the file while it Read more […]

[Free] Get all latest Microsoft 98-372 Actual Tests 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.)   A.      Define a method that raises the event. B.      Set the current class as a sealed class. C.      Place a reference to the consuming class in the class that raises the event. D.      Match the signature of the delegate declared Read more […]

[Free] Get all latest Microsoft 98-372 Actual Tests 11-20

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

[Free] Get all latest Microsoft 98-372 Actual Tests 1-10

EnsurepassQuestion 1 Which collection enforces type safety?   A.      Queue B.      Hashtable C.      ArrayList D.      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?   A.      Machine Debug Manager B.      Read more […]