Computer Science, asked by Madhushri7233, 10 months ago

Difference between var and dynamic keyword in c# with example

Answers

Answered by Ritiksuglan
2

Answer:

var is a statically typed variable. It results in a strongly typed variable, in other words the data type of these variables are inferred at compile time. ... dynamic are dynamically typed variables. This means, their type is inferred at run-time and not the compile time in contrast to var type

Similar questions