相关考题

单项选择题 您正在开发.NET 框架 2.0 Windows 窗体应用程序将使用的几个Certkiller.com 用作担保品的工作站上的几个国家的雇员。应用程序需要完全支持自定义的基于用户的首选项的用户界面像语言的货币、 日期和时间格式。您要编写代码,将比较两名雇员,存储在名为 employee1 和 employee2 的变量的名称。您是需要确保正确的比较,同时照顾的选择的区域设置。你应该做什么?()

单项选择题 You work as an application developer at Certkiller .com. You have been asked to profile a business application that can be accessible using the Event Log API. You have started by adding the following code to create a custom event log:  if (EventLog.SourceExists ("Application1"))  EventLog.DeleteEventSource ("Application1");  //Create new event log  EventLog.CreateEventSource ("Application1", "Profile");  You need to write an event to the Application1 event log. What code must you use?()

单项选择题 您可以在代码中创建以下变量:DateTime dateValue;此外,您编写代码以将时间存储在 dateValue 变量的当地时间。你是序列化所需的价值 dateValue 变量中,如果在一个时区 DateTime 对象序列化和反序列化一个不同的时区,表示本地时间结果应自动调整到第二个时区。你决定要使用的表达式。你应该做什么?()