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.) 01sealed class FormSettings : 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.")]
正确答案:A
答案解析:有
微信扫一扫手机做题