Dynamic Binding में, Compiler Compile Time पर Type Checking नहीं करेगा। Run Time पर Checking की जाती है।
Anonymous Types को One Method तक Restrict करने से बचने के लिए इसका उपयोग करें। ऐसा केवल इसलिए क्योंकि Type Name केवल Compiler को Visible होता है; इसलिए, आप इसे Method के Return Value के रूप में Declare नहीं कर सकते।
Example
public dynamic GetAnonymousType() { return new { StudentName = "Tom", Subject = "Java", }; }ऊपर, Method को Dynamic Set किया गया है, जिसका अर्थ है कि Compiler Compile Time पर Type Checking नहीं करेगा।
public dynamic GetAnonymousType() { }