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
答案解析:有
微信扫一扫手机做题