Frage

string thing = "etc";
thing = thing.GetName();
//now thing == "thing"

Is this even possible?

public static string GetName(this object obj)
{
    return ... POOF! //should == "thing"
}

Keine korrekte Lösung

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top