return-value-type 返回值类型
Whenever a new set of argument types or return value type is needed, a new delegate type must be declared.
当需要一组新的引数型别或传回值型别时,必须宣告一个新的传回型别。
The delegate is a type that defines a signature, that is, the return value type and parameter list types for a method.
委派是一种定义签章的型别,签章指的就是方法的传回实值型别和参数清单型别。
This is useful when the return value has a complex type because the type of the variable is automatically generated.
当返回值的类型很复杂时,这个重构将很有用,因为变量的类型是自动生成的。
应用推荐