mardi 25 mai 2021

SetValue x SetValueDirect, when is it best?

Using the SetValue() method, I need to box my object type, with SetValueDirect() I need to create a reference using the keyword __makeref() (which is not recommended or documented, but you can use it), but I don't need to box, so my question which is the best and the fastest and what is the difference between the two?





Aucun commentaire:

Enregistrer un commentaire