Can I get the type of class from with in it?
<p>I'm trying to build a base class that can determine its own type, but I'm not sure how to go, obviously this.GetType doesn't work inside of a typeOf,  so is there any way to get the class type for the current class?</p>

<pre><code>class BassClass {
public string GetValueofSomething() {
    Type type = typeof(this.GetType()); //this obviously doesn't work
    type = typeOf(BaseClass);  //works fine
    MemberInfo[] members = type.GetMembers();
    //Other stuff here
    return ""
}
}
</code></pre>
