Adhere to ASP.NET - (8)

xiaoxiao2021-03-06  57

Cyclic structure:

For, Do ... while, while, foreach ... in

function:

() {// code;};

Press value transmission parameters: () {// code;};

Press the reference Parameters: (REF ) {// code;}; and add the REF keyword in the function call.

Output parameters

Its value is not set before calling, in the code runtime setting, can be used later; for the called function, such parameters are only written. In C #, such parameters are called output parameters, using OUT keywords in parameter definition and parameter calls.

<% @ Page language = "c #" contenttype = "text / html" responseEncoding = "GB2312"%>