Respuesta :

Assigning a default value to parameter makes it optional and such must come last in the list. example (c#):

void GetStudents(string gender, int page=1, int size = 10){

// body
}
In the above example, gender is a required while page and size are optional.