|
-
Apr 24th, 2006, 10:40 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2.0] follow up question to jmcilhinney...about Type class
Jm,
You gave me an example ...
Code:
Type typ1 = typeof(string);
string str = "Hello World";
Type typ2 = str.GetType();
I understand by getting Type object we can get more details like the methods, member infor, attributes etc..but under what circumstances do we need to know those details??
can you point to me any example code that reads more details of an object using Type??
thanks
nath
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|