單項(xiàng)選擇題
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?()
