DIFFERENCE BETWEEN KEYWORDS ‘VAR’ AND ‘DYNAMIC’ ? - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
01 Jan 1970 05:30 AM study24x7 study24x7

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

study24x7
Write a comment

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepost.php on line 893
Most Related Articles

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepostRltdArtcl.php on line 8