public static CreateCustomer ( global customerID, global name, global email, global phone ) : |
||
customerID | global | Initial value of the CustomerID property. |
name | global | Initial value of the Name property. |
global | Initial value of the Email property. | |
phone | global | Initial value of the Phone property. |
Résultat |
public static Customer CreateCustomer(global::System.Int32 customerID, global::System.String name, global::System.String email, global::System.String phone)
{
Customer customer = new Customer();
customer.CustomerID = customerID;
customer.Name = name;
customer.Email = email;
customer.Phone = phone;
return customer;
}