EnsurepassQuestion 121 What are the steps required to read text from a file? Correct Answer: Question 122 Which element is NOT
EnsurepassQuestion 111 Which describes an interface? A. Allows managed code to access unmanaged code. B. Contains code that implements properties, methods, and events. C.
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
EnsurepassQuestion 91 Which three characteristics define the identity of an assembly? (Each correct answer presents part of the solution. Choose three.) A. Simple text
EnsurepassQuestion 71 You create a custom exception class named MyCustomException that is derived from ApplicationException. Which code segment should you use to raise MyCustomException?
EnsurepassQuestion 81 You need to force an immediate garbage collection of all unused memory. Which method should you use? A. WaitForFullGCComplete B. SuppressFinalize C.
EnsurepassQuestion 51 Which two types of actions can trigger an event? (Each correct answer presents a complete solution. Choose two.) A. User intervention, such
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
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
EnsurepassQuestion 31 You need to retrieve an assembly’s Version property. Which class should you use? A. AssemblyName B. MemberInfo C. Assembly D. OperatingSystem
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.)
EnsurepassQuestion 11 Which describes the effect of applying the protected accessibility modifier to a method? A. The method is available to all classes derived