lundi 6 février 2017

Retrieve class implementation using Reflection

i was wondering if it is possible to retrieve implementation of a class via Reflection or perhaps via other way around.

for example i have this code :

 public class class1
    {
        private string Name { get; set; }

        private void DoSomethng()
        {
            string s = "I'm setting up this ";
        }
    }

and i would like to have the implementation of DoSomething as a string or so is it possible ?





Aucun commentaire:

Enregistrer un commentaire