Right at the center of the code aspect of types are methods. While you learned earlier how to invoke methods while covering C# expressions, this chapter went into the aspect of declaring methods in various ways.
First, you learned about method parameters and various ways they can be passed. This includes input-only parameters as well as parameters that are passed by reference or act as an output for the method. You also learned about parameter arrays and the C# 4.0 features of named and optional parameters.
Next, the discussion led you to the notion of signatures and the ability to overload methods. Overloading methods comes in handy quite often to increase an API’s flexibility. Resolution of calls based on method groups and overloads ...