ASP.NET MVC, jQuery, AngularJS and Design Patterns courses by Bipin Joshi. Read more...
Learn ASP.NET MVC, jQuery, AngularJS and Design Patterns. Weekend courses by Bipin Joshi conducted in Thane. Registration already started for July 2016 batch. 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 a software consultant, a trainer, an author and a yogi 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. Having embraced Yoga way of life he also enjoys writing about the classical yoga system. 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