You use Microsoft .NET Framework 4 to create a Windows Forms application. You write the following code segment. (Line numbers are included for reference only.) 01 NotInheritable
Class FormSettings 02 Inherits ApplicationSettingsBase 03 04 Public Property Description() As [String] 05 Get 06 Return DirectCast(Me(“Description”), [String]) 07 End Get 08 Set 09 Me(“Description”) = value 10 End Set 11 End Property 12 End Class
You need to ensure that the first time each user opens the application, a text field displays the following message: “Please enter your setting.” Which code segment should you insert at line 03?
A.
<UserScopedSetting()> <DefaultSettingValue(“Please enter your setting.”)>
B.
<UserScopedSetting()> <SettingsDescription(“Description: Please enter your setting.”)>
C.
<ApplicationScopedSetting()> <DefaultSettingValue(“Please enter your setting.”)>
D.
<ApplicationScopedSetting()> <SettingsDescription(“Description: Please enter your setting.”)>