I have one [Operation Contract]
where described function which registers a new user in WCF Service:
[OperationContract]
boolean Register(string name, string password);
This function accepts two parameters name
and password
of user.
How I can extend these parameters in the future, for example If I want to add second name for register function or more parameters?
I can do the following:
boolean Register(string name, string password, string secondName);
But if params are more 20?