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

  • SEARCH
  • Home
  • 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 3670136
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:19:40+00:00 2026-05-19T02:19:40+00:00

I am planning to use dynamic keyword for my new project. But before stepping

  • 0

I am planning to use dynamic keyword for my new project. But before stepping in, I would like to know about the pros and cons in using dynamic keyword over Reflection.

Following where the pros, I could find in respect to dynamic keyword:

  • Readable\Maintainable code.
  • Fewer lines of code.

While the negatives associated with using dynamic keyword, I came to hear was like:

  • Affects application performance.
  • Dynamic keyword is internally a wrapper of Reflection.
  • Dynamic typing might turn into breeding ground for hard to find bugs.
  • Affects interoperability with previous .NET versions.

Please help me on whether the pros and cons I came across are sensible or not?

  • 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. Editorial Team
    Editorial Team
    2026-05-19T02:19:41+00:00Added an answer on May 19, 2026 at 2:19 am

    Readable\Maintainable code

    Certainly true in my experence.

    Fewer lines of code.

    Not significantly, but it will help.

    Affects application performance.

    Very slightly. But not even close to the way reflection does.

    Dynamic keyword is internally a wrapper of Reflection.

    Completely untrue. The dynamic keyword leverages the Dynamic Library Runtime.

    [Edit: correction as per comment below]

    It would seem that the Dynamic Language Runtime does use Reflection and the performance improvements are only due to cacheing techniques.

    Dynamic typing might turn into breeding ground for hard to find bugs.

    This may be true; it depends how you write your code. You are effectively removing compiler checking from your code. If your test coverage is good, this probably won’t matter; if not then I suspect you will run into problems.

    Affects interoperability with previous .NET versions

    Not true. I mean you won’t be able to compile your code against older versions, but if you want to do that then you should use the old versions as a base and up-compile it rather than the other way around. But if you want to use a .NET 2 library then you shouldn’t run into too many problems, as long as you include the declaration in app.config / web.config.

    One significant pro that you’re missing is the improved interoperability with COM/ATL components.

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

Sidebar

Related Questions

I am planning to use Locomotive for a project...But as the official website says
We are planning to use Team Foundation Server, but we need to decide whether
I am planning to use SCTP for a embedded Linux project. Anybody has some
I am planning to use libcurl in my project. I had downloaded the library
I am planning to use PIC18F6*** serial microntroller for my project serial-ethernet converter. Once
I'm asking your opinions about my next project.. I'm planning to make website which
Was planning to use Service Routing (on WCF/REST) to do some common tasks before
We are planning to use the Scala in our upcoming project. We are all
I am planning to use VMWare workstation for installing linux. But my use case
I am planning to use StyleCop in my project. My requirement is that the

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.