试题详情
单项选择题 You create a class library that is used by applications in three departments of your company. The library contains a Department class with the following definition. public class Department {      public string name;      public string manager;    }  Each application uses a custom configuration section to store department-specific values in the application configuration file as shown in the following code. You need to write a code segment that creates a Department object instance by using the field values retrieved from the application configuration file. Which code segment should you use?()

A、A

B、B

C、C

D、D

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题