This is a creation in
Article, where the information may have evolved or changed.
Functional function
Listen and listen-the GO function does not support nesting, overloading, and default parameters
Listen and listen-but the following features are
Func is the unified network controller of the red hat company Fedora platform.
FuncFedora UnifiedNetwork Controller https://fedorahosted.org/func), designed to solve this series of unified management and monitoring issues and developed the basic
Functional function-The GO function does not support nesting, overloading, and default parameters-however, the following features are supported:No need to declare a prototype, variable length parameter, multiple return value, command return value
_ FUNC _ is a predefined identifier in the c99 standard, which is a static const char [],It is implicitly defined in every function using _ FUNC.
The following is an example in iso9899.# Include Void myfunc (void){Printf ("% s/n", _ FUNC __);/*...*/}
Func common modules and APIs
Func provides a very rich range of functional modules, including:
Commandmodule (Execute command)Copyfilemodule (copy file)Cpumodule (CPU information)Diskmodule (disk information)Filetrackermodule (file
Func, Action
Introduction and usage
Func is a type of Delegate, which is added in 3.5. in 2.0, we use the delegate to use delegate, and func is located in system. in the core namespace, the use of delegation can improve the efficiency. For
C # system delegate Action And Func,
Action: encapsulate a method that does not have parameters and does not return values.
public delegate void Action()
Action : the generic type of Action defines 1 to 16 input parameters, but there is still no
Transfer from http://www.cnblogs.com/LittleFeiHu/p/4035166.htmlAction: Encapsulates a method that does not have parameters and does not return a value Public Delegate voidAction () Action: The generic for action implements the definition of 1 to 16
Func is a type of Delegate, which is added in 3.5. in 2.0, we use the delegate to use delegate, and func is located in system. in the core namespace, the use of delegation can improve the efficiency. For example, using it in reflection can
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.