explain expandoobject and dynamicobject


Explain ExpandoObject and DynamicObject classes.

The ExpandoObject class refers to a class whose members can be explicitly added and removed at runtime. In other words, the ExpandoObject class permits dynamic binding of the objects, which enables you to use standard syntax, similar to the dynobj.Method method instead of using more complex syntax, like dynobj.getAttribute("Method").

The DynamicObject class enables you to define the dynamic behavior for an object at run time. This class cannot be instantiated directly; thus, to implement the dynamic behavior, you must inherit from the DynamicObject class and override the essential methods. It allows you to define the specific operations that can be performed on dynamic objects as well the methods to perform those operations.

 

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: explain expandoobject and dynamicobject
Reference No:- TGS0311188

Expected delivery within 24 Hours