Implementing Conditional Logic

C Sharp > Implementing Conditional Logic
18.10.2016 16:14:11


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

[response] ["connection] [statements] [failed"] ["connection_error"] [•select] [success"] [default]


Статья:

if statements

if (response == "connection.failed") {. . .}

else if (response == "connection_error") {. . .}

else {}

•select statements

switch (response)

{

case "connection.failed": break;

case "connection.success":

break;

default:

break;

}