8.1.1 Access Configuration of C #
Includes: public, private, protected, and security.
8.3 REF parameters and OUT parameters
By using the REF keyword and the OUT keyword, it is possible to pass any numerical type by reference. There are 2 reasons for using these two parameters: allowing the method to change the content of the energy, or the method returns multiple values.
?
8.4 variable varying number
Use the params modifier before passing parameters, you can implement any number of parameters. Params modifiers are used to declare an array parameter that can receive 0 or more variable elements. Use params to deliver multiple variables, their types must be consistent with the array type specified by the parameter. When the method has both a regular parameter and a params parameter, the params parameter must be the last parameter in the parameter list. Under any circumstances, there can only be a params parameter.
?
8.7.1 Call the heavy duty constructor via this
Basic form is:
• constructor-name (parameter-list): this (parameter-list2) {
?