Author : HASSAN MD TAREQ | Updated : 2021/03/22
What is Dynamic Type?
dynamic dx = 10; dynamic dy = "quick brown fox jumped over the lazy dog"; /* `dynamic` type is a static type, but in most cases, type 'dynamic' behaves like it has type object. dynamic bypasses static type checking - variables of type dynamic are compiled into variables of type object. Therefore, type dynamic exists only at compile time, not at run time */