vendredi 2 juin 2017

How to invoke a method having parameters (Passage by Reference)

I have this method and I would like to invoke it using reflection:

public void Increment(ref int i)
{
       i = i + 1;
}

I need a help, thank you





Aucun commentaire:

Enregistrer un commentaire