About 21,800,000 results
Open links in new tab
  1. How to dynamically create generic C# object using reflection?

    Oct 3, 2015 · How to dynamically create generic C# object using reflection? [duplicate] Asked 16 years, 1 month ago Modified 9 years, 11 months ago Viewed 200k times

  2. 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 …

  3. reflection - How to solve InaccessibleObjectException ("Unable to …

    Apr 7, 2017 · A reflection-based library/framework like Spring, Hibernate, JAXB, ... reflects over application code to access beans, entities,... In this scenario: {A} is an application module …

  4. reflection - How do I invoke a Java method when given the …

    Use method invocation from reflection: Class<?> c = Class.forName("class name"); Method method = c.getDeclaredMethod("method name", parameterTypes); …

  5. 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.

  6. Can I change a private readonly field in C# using reflection?

    This uses reflection to get all the properties of a new empty entity, and matches the property/field name to the column in the resultset, and set's it using propertyinfo.setvalue (). I don't want …

  7. Name for argument of type [java.lang.String] not specified, and ...

    May 31, 2024 · Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag

  8. reflection - Cast to a reflected Type in C# - Stack Overflow

    Foo result = (Foo)objFoo; There's no real point in casting an object to a type that's unknown at compile time - you won't be able to use it: object objFoo = MakeFoo(); UnkownType result = …

  9. C# Reflection: Fastest Way to Update a Property Value?

    May 28, 2011 · Is this the fastest way to update a property using reflection? Assume the property is always an int: PropertyInfo counterPropertyInfo = GetProperty(); int value = …

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

    Jun 23, 2010 · 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 …