多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题