About 28,700,000 results
Open links in new tab
  1. c# - Using reflection to get values from properties from a list of a ...

    May 23, 2012 · Using reflection to get values from properties from a list of a class Asked 13 years, 2 months ago Modified 12 years, 9 months ago Viewed 69k times

  2. java - What is reflection and why is it useful? - Stack Overflow

    Sep 1, 2008 · What is reflection, and why is it useful? I'm particularly interested in Java, but I assume the principles are the same in any language.

  3. Change private static final field using Java reflection

    Jul 21, 2010 · I have a class with a private static final field that, unfortunately, I need to change it at run-time. Using reflection I get this error: java.lang.IllegalAccessException: Can not set …

  4. Reflection support in C - Stack Overflow

    Aug 30, 2009 · Reflection isn't supported in any existing at the moment C-standards. But still it's possible to get something very similar to this feature in Linux/MacOS/Windows if gcc/clang is …

  5. How to dynamically create generic C# object using reflection?

    Oct 3, 2015 · I want to dynamically create TaskA or TaskB using C# reflection (Activator.CreateInstance). However I wouldn't know the type before hand, so I need to …

  6. c# - Dynamic Lang. Runtime vs Reflection - Stack Overflow

    Reflection can do two things one is it can inspect meta-data and second it also has the ability to invoke methods on runtime.While in Dynamic we can only invoke methods. So if i am creating …

  7. Reflection - get attribute name and value on property

    In my main method, I'm using reflection and wish to get key value pair of each attribute for each property. So in this example, I'd expect to see "Author" for attribute name and "AuthorName" …

  8. what is reflection in C#, what are the benefit. How to use it to get ...

    Jun 23, 2010 · 6 Reflection is the ability of types to provide information about themselves. For example, an assembly can tell you what it contains, a type can tell you its methods, properties …

  9. Why is the use of reflection in .NET recommended?

    Sep 22, 2009 · The main value of Reflection is that it can be used to inspect assemblies, types, and members. It's a very powerful tool for determining the contents of an unknown assembly …

  10. Why does C++ not have reflection? - Stack Overflow

    Dec 11, 2008 · Unlike reflection in most languages, the plan for c++ reflection is compile time reflection. So at compile time, you can reflect over struct members, function and method …