title: How can I retrieve the namespace to a string C#
body: <p>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.</p>
  
  <p>I was able to find an MSDN page about this topic but it proved to be unhelpful to myself.
  <a href="http://msdn.microsoft.com/en-us/library/system.type.namespace.aspx">http://msdn.microsoft.com/en-us/library/system.type.namespace.aspx</a></p>
  
  <p>Any help would be appreciated. The program is written in C#.</p>
  
  <p>EDIT: Sorry guys, this is not a console application.</p>