How do i set my property value from array via reflection in C#?
public class Employee { public string Name { get; set; }
public int ID { get; set; }
public void SetValues(string[] items) {
} }
I need to use SetValues method to set property values from items array.
Aucun commentaire:
Enregistrer un commentaire