Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 169457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:38:03+00:00 2026-05-11T12:38:03+00:00

So I tried searching SO hoping someone had a good explanation of this, with

  • 0

So I tried searching SO hoping someone had a good explanation of this, with no luck.

I asked another friend of mine a different question (which I’ve now forgotten) and his answer was simply ‘reflection’ before he signed off.

I am still very new to the C# world, having been an amateur VB.net programmer (also JavaScript, ActionScript, and C), and am trying as hard as I can to grasp these advanced concepts.

There’s lots of philosophical answers — ‘application looking at itself’ — but they don’t provide any practical hints on what is actually going on or how it is used within that context.

So, what is reflection, why is it important, and why/how do I use it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T12:38:03+00:00Added an answer on May 11, 2026 at 12:38 pm

    Reflection provides the ability to determine things and execute code at runtime.

    You don’t have to use it if you don’t want to, but it is extremely handy for dynamic behavior.

    For example:

    a) You can use reflection to configure your application by loading an external configuration file and starting services based on it. Your application wont have to know in advance about the classes that implement those services, as long as they conform to a specific interface or API.

    b) Using reflection you can generate classes and code on the fly, which simplifies certain programming tasks since the programmer does not have to explicitly create all the needed code.

    c) Reflection is also invaluable for programs that work by examining code. An example of that would be an IDE or a UI designer.

    d) Reflection helps you reduce boilerplate code.

    e) Reflection is handy for defining mini Domain Specific Languages (DSL) in your code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 73k
  • Answers 73k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer The only reason I can think of is if your… May 11, 2026 at 2:01 pm
  • added an answer When doing Office automation VB.Net makes things much easier than… May 11, 2026 at 2:01 pm
  • added an answer Have a look at Mono.Addins AFAIK its built upon .NET… May 11, 2026 at 2:01 pm

Related Questions

I tried searching here for a similar solution but didn't see one so I
Quick question regarding CSS and the browser. I tried searching SO and found some
So I've tried to work with the pure-CSS, never-use-tables-for-layout gospel, I really have. But
I tried scouring the web for help on this issue, but there are so
So far, no Delphi version supports SOAP 1.2 clients or server. I have tried
I am writing a Perl script that is searching for a term in large
I'm always surprised that even after using C# for all this time now, I

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.