Dynamic datatype allow to declare anonymous. this feature is really important when your work with com specially Silverlight .

To add Properties on runtime it was really big problem in C#. some of practice are available. like using IDictionary interface in C#. but now in C#.4 by using dynamic datatype with ExpandoObject dynamic datatype you can add properties on runtime. Dynamic Type inherit IDictionary to maintain add dynamic properties.

Dynamic initialized its type on runtime like object but object initialized its type on compile time.

When we use ObjectType as parameter in overload object initialized on compile time. dynamic parameter accept as anonymous datatype and initialized its self on runtime for overload method.

Object class initialized complie time thats its not allow it to act anonymous Type

Dynamic datatype initialized runtime its allow it to act anonymous Type define its type on runtime according to type overload methad will call;

Dynamic datatype as function argument is little bit confusing in overloading cause is there is no other argument matched datatype then Dynamic will call.

Saturday, April 3, 2010

Thursday, April 1, 2010

When we use child Window in Silverlight its Automatically disable Background but its floatableso i want using child window float feature without disabling the background so i childwindow is top element on xmal so alway on top thats you can not access back button or any other control so i put childwindow in popup control and make popup on or off .