TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pragadheesh
NA
6
0
How to get Namespace of an Assembly?
Mar 17 2009 2:22 AM
Consider i have an assembly(class library dll) which i have loaded using the following code,
Assembly a = Assembly.LoadFrom(@"C:\Documents and Settings\E454935\My Documents\Visual Studio 2005\Projects\nunit_dll_hutt\for_hutt_proj\bin\Debug\asdf.dll");
and i need to get the type of the Assembly. In order to get the type i need the namespace of the assembly.
Type t = asm.GetType("NAMESPACE.CLASSNAME",false,true);
how can i get the Namespace in the above line.?! as inorder to get the Namespace, i need to get the type..?
Type.Namespace;
i.e i need to get the Namespace of the assembly which can be used to get its Type.
Thanks in advance
Reply
Answers (
1
)
GDI+ and Graphics
Fixed columns in datagridview in windows C#