Wednesday, 28 August 2013

How can I retrieve the namespace to a string C#

How can I retrieve the namespace to a string C#

I am writing a program which needs the namespace of the program but I cant
seem to figure out how to retrieve it. I would like the end result to be
in a string.
I was able to find an MSDN page about this topic but it proved to be
unhelpful to myself.
http://msdn.microsoft.com/en-us/library/system.type.namespace.aspx
Any help would be appreciated. The program is written in C#.
EDIT: Sorry guys, this is not a console application.

No comments:

Post a Comment