Top "System.reflection" questions

System.

Using reflection to get method name and parameters

I am trying to workout a way to programatically create a key for Memcached, based on the method name and …

c# .net memcached system.reflection
Exception Info: System.Reflection.TargetInvocationException

I am working on a WPF application an I receive this error only at run time on single device. Exception …

c# .net wpf system.reflection
Winforms: getting Publish Version number?

I've got a Winforms app and want to display the version number so that we can know if our update …

vb.net winforms system.reflection
Refer to a property name by variable

Is there a way to refer to a property name with a variable? Scenario: Object A have public integer property …

c# reflection system.reflection
Explicitly call static constructor

I want to write unit test for below class. If name is other than "MyEntity" then mgr should be blank. …

c# mstest system.reflection static-constructor
Generate dynamic object from dictionary with C # Reflection

I've been researching a bit about reflections in C # and would like to know if I use a dictionary with …

c# reflection system.reflection
Using Reflection to set a static variable value before object's initialization?

Is there anyway to set the value of a static (private) variable on an object that has not been initialized? …

c# reflection c#-2.0 system.reflection
Getting Keys and Values from IEnumerable<Dictionary<string, object>>

I have a IEnumerable < Dictionary < string, object > > object. I want to get the "aaavalue" "bbbvalue" "cccvalue" "…

c# linq .net-4.0 dictionary system.reflection
How to emit a Type in .NET Core

In C#, how do I emit a new Type at runtime with .NET Core? All of the examples I can …

c# system.reflection reflection.emit
I need an alternative to `Assembly.GetEntryAssembly()` that never returns null

I need to find the assembly in which managed code execution started. // using System.Reflection; Assembly entryAssembly = Assembly.GetEntryAssembly(); This …

c# .net system.reflection entry-point