Invoking Methods

C Sharp > Invoking Methods
18.10.2016 16:25:09


Наиболее часто встречающиеся слова в статье:

[shutdownAutomatically] [StartService] [Invoking] [Methods] [specify] [   Method] [arguments] [satisfy] [parameters] [Perform]


Статья:

Invoking Methods

To call a method specify:

•    Method name

•    Any arguments to satisfy parameters

var upTime = 2000;

var shutdownAutomatically = true;

StartService(upTime, shutdownAutomatically);

// StartService method.

void StartService(int upTime, bool shutdownAutomatically)

{

// Perform some processing here.

}