I think the easiest way to explain my problem is with an example.
class MyClass
{
string SomeFunction()
{
//magic
}
}
Void Main
{
MyClass test = new MyClass();
Console.WriteLine( SomeFunction );
}
So the thing I want “SomeFunktion” to is to give back the name of MyClass. In this case it would be “test”.
Is it even possible?