Learn ASP.NET MVC, jQuery, HTML5, AngularJS and Design Patterns in Thane. Click here to know more!
Master ASP.NET MVC, Entity Framework and Web API in January 2016. An intensive course for developers conducted by Bipin Joshi in Thane. Read more details here.

Using DynamicObject and ExpandoObject

C# is primarily a statically typed language. That means the compiler needs to know in advance about the data type of a variable. In the absence of this information, the compiler will throw a compilation error and will refuse to compile the code. In spite of the advantages offered by the statically typed languages, dynamic languages have their own place in application development. For example, most of the web sites developed today make use of JavaScript in some way or the other. Languages such as Python and Ruby are also popular amongst developers. The C# language now supports dynamic features through Dynamic Language Runtime (DLR). Part of these features include dynamic types, DynamicObject Class and ExpandoObject Class. This article explains these features and provides examples illustrating how these features are used.

        Read full article...

Bipin Joshi is software consultant, trainer and author having 20+ years of experience in software development. He conducts professional courses in ASP.NET, jQuery, AngularJS, HTML5 and Design Patterns in Thane. He is a published author and has authored or co-authored books for Apress and Wrox press. To know more about him click here. To know more about his training programs go here.

Get connected : Twitter  Facebook  Google+  LinkedIn

Posted On : 12 Jul 2011

Tags : .NET Framework C# Components