In an instance method, I can easily find the executing namespace:
public void PrintNamespace()
{
Console.WriteLine(this.GetType().Namespace);
}
Q: How do I do the same in a static function (no this available) without explicitely mentioning the class name? (no typeof(MyClass) )
Or using reflection: