>Not necessary to use Reflection...
>
>Try this:
>
>string ns = this.GetType().Namespace; // C#
>Dim ns As String = Me.GetType().Namespace '; VB
Well, here you *are* using reflection.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Matt Berther - 18 Dec 2004 03:28 GMT
Hello Mattias,
Technically, yes... However, you're not importing the System.Reflection namespace.
--
Matt Berther
http://www.mattberther.com
>> Not necessary to use Reflection...
>>
[quoted text clipped - 5 lines]
>
> Mattias