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.
Write down the importance of delegates. Where must they be employed? Write down the conditions where we need them?
What is .NET Framework? Specify its applications?
How one can create the ellipse, which is the non- rectangular window?
Why the data validations should be performed at a client side?
How we can prevent validation control from validating data at client end?
State the difference between a class and a structure?
What is Object?
Write the major differences between the classic ADO and ADO.NET?
Describe code contracts?
Explain the term culture and and UICulture values?
18,76,764
1928439 Asked
3,689
Active Tutors
1424113
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!