M
Marco Balk
I want to create my own ToString() function, which outputs a summary
of a class.
How can I retrieve a list of functions in a class?
I want to try to get the following output (this will be a nice HTML
list):
Class foo
- functions:
--- static function static_foo()
--- public function public_foo()
--- private function private_foo()
- variables
--- public int X
--- public string Y
--- protected bool Z
- properties
--- public string Name
--- public int Age
Code example:
foo objFoo = new foo();
Response.Write(objFoo.ToString());
Thanks in advance!!!
of a class.
How can I retrieve a list of functions in a class?
I want to try to get the following output (this will be a nice HTML
list):
Class foo
- functions:
--- static function static_foo()
--- public function public_foo()
--- private function private_foo()
- variables
--- public int X
--- public string Y
--- protected bool Z
- properties
--- public string Name
--- public int Age
Code example:
foo objFoo = new foo();
Response.Write(objFoo.ToString());
Thanks in advance!!!