READ Free Dumps For Microsoft- 70-483
Question ID 16972 | You are developing an application that uses a .config file.
The relevant portion of the .config file is shown as follows:
You need to ensure that diagnostic data for the application writes to the event tog by using
the configuration specified in the .config file.
What should you include in the application code?
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | D |
Explanation
Question ID 16973 | An application includes a class named Person. The Person class includes a method named
GetData.
You need to ensure that the GetData() from the Person class.
Which access modifier should you use for the GetData() method?
|
Option A | Internal
|
Option B | Protected
|
Option C | Private
|
Option D | Protected internal
|
Option E | Public
|
Correct Answer | B |
Explanation Explanation: Protected - The type or member can be accessed only by code in the same class or structure, or in a class that is derived from that class. http://msdn.microsoft.com/en-us/library/ms173121.aspx The protected keyword is a member access modifier. A protected member is accessible within its class and by derived class instances.