ExpandoObject and DynamicObject classes
Describe ExpandoObject and DynamicObject classes.
Expert
The ExpandoObject class is a class whose members can be explicitly added and removed at the runtime. In other words, the ExpandoObject class allows dynamic binding of the objects, that allows you to use standard syntax, same 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 the run time. This class cannot be instantiated directly; thus, to implement the dynamic behavior, it is required to inherit from the DynamicObject class and override the necessary methods. It also allows to define the specific operations that can be performed on dynamic objects as well the methods to perform those operations.
What do you mean by the Assembly Manifest?
How a border can be placed around a picture box?
Write the difference between a toolstrip split button and a toolstrip drop-down button ?
How can CAS be turn-on and turn-off?
What are the layouts of ASP.NET Pages?
Explain the function of WebpartListUserControlPath property of the DeclarativeCatalogPart control?
Can a private class be declared in a namespace?
Explain concept of the Destructor?
Illustrate the terms Persistent cookie as well as Session cookie?
Explain DataAdapter class in the ADO.NET?
18,76,764
1939171 Asked
3,689
Active Tutors
1412902
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!