Princy Gupta
What are dynamic variables
By Princy Gupta in .NET on May 08 2014
  • Prem Ranjan
    May, 2014 19

    Dynamic Variables, a variables declared with dynamic keyword and dynamic declarations are resolved at run time. Dynamic Variable is decided by the compiler at run time, no need to initialize the variable at the time of declaration.Ex. dynamic query;query = "C# Lnaguage"; //Compile, No errorquery = 1234 ; // its also compile, No error

    • 1
  • Vishal Jadav
    Aug, 2016 8

    Just like object / var it can hold any type of data but raises error at run-time and any compile time error is not checked by the compiler.

    • 0
  • vamshi neela
    May, 2014 30

    dynamic variables is type safe varaibles while passing and parameters and as return type also

    • 0
  • Pankaj Bajaj
    May, 2014 13

    http://www.codeproject.com/Articles/69407/The-Dynamic-Keyword-in-C

    • 0
  • Khan Abrar Ahmed
    May, 2014 12

    http://msdn.microsoft.com/en-us/library/dd264741.aspx

    • 0
  • Manoj Tyagi
    May, 2014 9

    Dynamic keyword is used to handle anytime of data if we declare dynamic variable. it can handle anonymous data type and can handle any type of data.

    • 0
  • Princy Gupta
    May, 2014 8

    http://msdn.microsoft.com/en-IN/library/dd264736.aspx

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS