That's the one I need:
MethodBase.GetCurrentMethod().DeclaringType.Name
Thanks a lot!
"Mattias Sjögren" <(E-Mail Removed)> wrote in message
news:ubQKbtv%(E-Mail Removed)...
> Vagif,
>
>>I am puzzled because CLR must have such run-time information, but how to
>>get
>>access to it?
>
> typeof(MyType).Name
>
> or
>
> MethodBase.GetCurrentMethod().DeclaringType.Name
>
>
>
> Mattias
>
> --
> Mattias Sjögren [MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.