Explain expandoobject and dynamicobject classes, DOT NET Programming

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.

 

Posted Date: 7/4/2013 3:11:06 AM | Location : United States







Related Discussions:- Explain expandoobject and dynamicobject classes, Assignment Help, Ask Question on Explain expandoobject and dynamicobject classes, Get Answer, Expert's Help, Explain expandoobject and dynamicobject classes Discussions

Write discussion on Explain expandoobject and dynamicobject classes
Your posts are moderated
Related Questions
What is an object? They are instance of classes. It is a basic unit of a system. An object is an entity that has attributes, behavior, and identity. Attributes and behavior of

How do we assign page specific attributes? The Page attributes are specified by using the @Page directive.

Project Description: I need complete school management software, where user will get four module for their enquiry, 1> Student management 2> Staff complete payrole system

.NET aplication with vBulletin paid subscribtion Project Description: I have an application in .net it's a simple client i have sheltered with net seal license system for aut

The problem statement is pretty simple. We need a software implementation of a Point of Sale terminal at a typical store. The users of the system are the cashiers sitting at the sa

Newly designed APK file for XBMC on an Android TV Box Project Description: We are seeking someone to have knowledge in Android's operating platform. We are a business that ma

What are the authentication methods in .NET? 1.Windows authentication 2.Forms authentication 3.Passport authentication 4.None/custom authentication

Website update... Immediate need I want someone experienced in ASP.NET who can set up PayPal on my website by Feb. 1st. I would similarly like to have some changes made in the t

What is different overloading and overriding, please explain

What is Unicode? In order to understand the concept of Unicode we require  to move a little back and understand the ANSI code. The ASCII (ask key) stands for American Standard