vendredi 17 avril 2020

How can I use reflection to get information on the attributes of a String class in C#?

I am still very new to C# but I am trying to grasp some more advanced concepts and I need some help.

I want to use reflection to get information on the attributes of the String class in C#. Some information that I would like to see displayed include name of the class, its namespace, what type is inherited, whether the class is abstract, sealed, generic, etc....

How can I do that with reflection?

Thanks in advance!





Aucun commentaire:

Enregistrer un commentaire