samedi 17 juin 2017

How to get declare properties name and its value

Please help me:

enter image description here

var myClass = new MyClass
 {
     FirstName = "John",
     LastName = "Nguyen"
 };

How can I get just 2 or more properties declared in myClass scope ?





Aucun commentaire:

Enregistrer un commentaire