Is there in language anything like curclass
to reference current class name without hardtyping it any time again and again?
As example something like typeof(curclass).GetMethod(nameof(curclass.MyMethod))
instead of typeof(MyPrettyClass).GetMethod(nameof(MyPrettyClass.MyMethod))
.
Update: it's not just about name, but about alias.