can anyone help me? I have some reflection code that i have written and it seems to work well but it gives me an error when trying to pass in \"this\" to the GetValue.
How can I convert IEnumerable to IEnumerable<T> when T isn\'t known until runtime? I have a method that absolutely needs an IEnumerable<T> where T isn\'t known until runtime and T must be
Suppose I have an API that returns a Task as an object: private static object CreateTask() { return Task.Factory.StartNew(() => \"Task string\");
I have the following method: public MethodInfo FancyGetMethodInfo (object obj, string methodName, Type[] methodSignature)
I need to find out if a Type I\'m working with is a Generic \'container\', for example if I have a List<int> I need to check if I\'m working with a List (I know how to get whether I\'m working w
What is the quick test to determine if an instance of Membe开发者_运维技巧rInfo is internal ? How to tell if MemberInfo is internal?
I have two assemblies; AssemblyWithInterface and AssemblyWithClass. In AssemblyWithInterface I have an interface called IDoSomething which is implemented by TheClass in AssemblyWithClass. (AssemblyWit
I have the problem that an event in my program is called twice and i have no clue where to start to look for the problem.
I have a method that takes as an input parameter an object of type IEnumerable. I want to enumerate the enumeration and for each item use reflection to get the value for each property.
How should I construct Expression tree for string.IndexOf(\"substring\", StringComparison.OrdinalIgnoreCase)?