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 is Code Access Security (CAS)?
List the types of generations there are in a garbage collector?
Differentiate between the methods Clone() and Copy() of a DataSet class?
How Web services can be prevented from the unauthorized access?
What do you mean by the term Transport and Message Reliability?
Write the major differences between the classic ADO and ADO.NET?
What do you mean by the term Routed event?
Is it possible to declare a private class in a namespace?
Explain the XmlWriter class.
Write the difference between the WindowsDefaultLocation and WindowsDefaultBounds properties?
18,76,764
1945658 Asked
3,689
Active Tutors
1437737
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!