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.
How to access information about a user's locale?
Describe the relationship between an object and the class?
Distinguish the terms ADO.NET Dataset and an ADO Recordset?
Which method is used to kill explicitly the users session?
Can I employ Windows Forms in the WPF application? Give reasons.
State the use of DropDownStyle property of the ComboBox control?
What is connection pooling? And name the pre-requisites used for connection pooling?
By which method we can post a Web page to another Web page?
What is the role of the DynamicPopulateExtender control?
Which type of code, a client-side or a server-side, is found in the code-behind file of the Web page?
18,76,764
1952035 Asked
3,689
Active Tutors
1461364
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!