| 1. |
What Is Dynamic Keyword? |
|
Answer» The DYNAMIC is a keyword which was introduced in .NET 4.0. Computer programming languages are two types: strongly typed and dynamically typed. In strongly types all types checks are happened at compile time, in dynamic types all types of checks are happened at run time. For example consider the following CODE dynamic X = "c#"; x++; It will not PROVIDE error at compile time but will provide error at run time. The dynamic is a keyword which was introduced in .NET 4.0. Computer programming languages are two types: strongly typed and dynamically typed. In strongly types all types checks are happened at compile time, in dynamic types all types of checks are happened at run time. For example consider the following code dynamic x = "c#"; x++; It will not provide error at compile time but will provide error at run time. |
|