Method parameters of the order call

 

public static string MyLove(string a, string b)
{
    return a + b;
}

Normal use:

MyLove("my", "love");//返回mylove

Not in order to call upon:

MyLove(b: "love", a:"my");//返回mylove

Guess you like

Origin www.cnblogs.com/levinson/p/11609195.html