C# any way of accessing the class name of a static class via code?

Posted by Nick Allen - Tungle139 on Stack Overflow See other posts from Stack Overflow or by Nick Allen - Tungle139
Published on 2010-04-20T10:31:01Z Indexed on 2010/04/20 10:33 UTC
Read the original article Hit count: 201

Filed under:

Within a static class you cannot use the keyword "this" so I can't call this.GetType().GetFullName if I have

public static class My.Library.Class
{
    public static string GetName()
    {
    }
}

Is there anything I can call from within GetName that will return My.Library.Class

© Stack Overflow or respective owner

Related posts about c#