About 50 results
Open links in new tab
  1. 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.

  2. Detect if a method was overridden using Reflection (C#)

    Now, using Reflection, I need to find if the method TestMe has been overriden in child class - is it possible? What I need it for - I am writing a designer visualizer for type "object" to show the whole …

  3. Duplicate "System.Reflection.Assembly...Attribute" CS0579

    May 16, 2025 · // <autogenerated /> using System; using System.Reflection; [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", …

  4. reflection - Loading DLLs at runtime in C# - Stack Overflow

    I am trying to figure out how you could go about importing and using a .dll at runtime inside a C# application. Using Assembly.LoadFile() I have managed to get my program to load the dll (this part...

  5. c# - Set object property using reflection - Stack Overflow

    Is there a way in C# where I can use reflection to set an object property? Ex: MyObject obj = new MyObject(); obj.Name = "Value"; I want to set obj.Name with reflection. Something like: Reflection.

  6. Introspection vs. reflection in .NET - Stack Overflow

    May 18, 2025 · Reflection is the specific name for how .NET implements introspection. Other languages may call it something different (C++ calls its limited introspection RTTI, for run-time type information).

  7. How do I find the caller of a method using stacktrace or reflection?

    Jan 8, 2009 · I need to find the caller of a method. Is it possible using stacktrace or reflection?

  8. reflection - How to get the current product version in C# ... - Stack ...

    Quite ridiculous how two version settings that are snugly side by side in the project properties aren't even the same class internally. Heck, even the properties in the two classes aren't the same; the last …

  9. How do I get the calling method name and type using reflection?

    I'd like to write a method which obtains the name of the calling method, and the name of the class containing the calling method. Is it possible with C# reflection?

  10. ReflectionOnlyLoad deprecated in .NET 6 - Stack Overflow

    Sep 7, 2021 · Assembly.ReflectionOnlyLoad has been deprecated in .NET 6. Is there an alternative? What I'm trying to achieve is to find assemblies in the application path with a specific custom …