试题详情
单项选择题 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
  • 关注下方微信公众号,在线模考后查看

热门试题