Im using C#. How do i obtain at runtime my class information? ie. MyApp.TestClass, TestConsoleApp0, Version=1.0.2571.41421, Culture=neutral, PublicKeyToken=null.
Im using AjaxPro.Net JSON library and on serializing it reports such information. I like to know how they obtained this info of my class object.
Quick C# question?
You need to look at the System.Reflection namespace. It has a number of classes for loading assemblies and listing (and calling) their properties and methods.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment