Which of the followings are true for the dynamictype in C#It allows multiple time declaration of a variableIt escapes compile time type checkingIt allows compile time type checking
The following statement is true for the 'dynamic' type in C#:
- It allows multiple time declaration of a variable
The following statement is false for the 'dynamic' type in C#:
- It escapes compile time type checking
The 'dynamic' type in C# actually allows for compile time type checking, but defers type resolution until runtime.
原文地址: http://www.cveoy.top/t/topic/ilsl 著作权归作者所有。请勿转载和采集!