A

Admin • 833.24K Points
Coach

Q. DIFFERENCE BETWEEN KEYWORDS ‘VAR’ AND ‘DYNAMIC’?

  • (A) ‘Var’ is introduced in C# (3.0) and ‘Dynamic’ is introduced in C# (4.0)
  • (B) ‘Var’ is a type of variable where declaration is done at compile time by compiler while ‘Dynamic’ declaration is achieved at runtime by compiler
  • (C) For ‘Var’ Error is caught at compile time and for ‘Dynamic’ Error is caught at runtime
  • (D) All of the mentioned
  • Correct Answer - Option(D)
  • Views: 28
  • Filed under category C# (C Sharp)
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.