Hello All I am trying to understand how reflection works so my question is that when I want to invoke some method in assembly why do I send to a method parameters as object array and not as string?
For example I want to invoke this method it gets string parameter but I send arguments as a object array
public string Display(string Name)
{
return Name;
}
thanks in advance
Aucun commentaire:
Enregistrer un commentaire