Wednesday, February 19, 2014

C# - கேள்வி பதில் பகுதி - 9

Q 81. Which class represents specific managed instances available through WMI (Windows Management Instrumentation)?
A. ManagementObject class

Q 82. Which CharSet enumeration value is the default text encoding when using WindowsNT,Win2K,WinXP,Win2003 server?
A. CharSet.Unicode value

Q 83. What should you apply to a field if its value is not required during deserialization?
A. OptionalField

Q 84. Which CharSet enumeration value is the default text encoding when using Win9x, Windows Me?
A. Charset.Ansi

Q 85. Which method of the FileStream class should be invoked when work is completed with a file’s contents?
A. Close

Q 86. Which class should you use to retrieve methods of a dynamically loaded type at runtime?
A. MemberInfo

Q 87. Which class represents an e-mail message?
A. MailMessage

Q 88. Which interface should you implement when defining a class responsible for the format of serialized data types?
A. IFormatter

Q 89. What object is required when invoking either the Write or Read of the GZipStream or DeflateStream classess?
A. Byte Array

Q 90.When defining a CLR class, which two ways can you expose its methods to COM clients?
A. Apply Classinterface attribute or implement a custom class interface

Q 91. Which method of the StreamWriter class should you invoke to clear all buffers and force data in the buffer to be written?
A. Flush

Q 92. Which class represents an application domain?
A. AppDomain

Q 93. Which element in the application configuration file should you use to specify BooleanSwitch or TraceSwitch objects?
Switches

Q 94. When exposing managed methods to COM, what access modifier must you apply?
A. Public

No comments:

Post a Comment