mercredi 14 janvier 2015

Reflection static invoke method [duplicate]


This question already has an answer here:




I have a static generic class



public static class Test<T> {
public static void TestMethod()
{
//Some logic
}

}


I have a Type object. how can I invoke TestMethod with reflection?






Aucun commentaire:

Enregistrer un commentaire