Rajesh kumar’s Blog

If you have knowledge, let others light their candles at it.

  • Author

  • Rajesh Tweets

    Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 2 other followers

Archive for June, 2009

Rampup (Ascend to new heights in your career)

Posted by Rajesh Kumar on June 10, 2009

If at all you are looking for one or more of the below:

  • Web Development with ASP.NET
  • Move from PHP to ASP.NET
  • Move from ASP to ASP.NET
  • Develop Windows Mobile 6 Applications
  • SharePoint for Developers – Part 1
  • SharePoint for Developers – Part 2
  • Visual Studio 2008
  • For the VS 2002/2003 Developer: Learn VS 2005
  • For the VB 6.0 Developer: Learn VB 2005
  • For the Java Developer: Learn .NET
  • Developer Basics

Its worth browsing:   http://msdn.microsoft.com/hi-in/rampup/default(en-us).aspx

Advertisements

Posted in .Net | Leave a Comment »

Behavior of dynamic type in C# 4.0

Posted by Rajesh Kumar on June 3, 2009

If you wish to get the type of any object dynamically and then invoke its methods are properties at run time, then C# 4.0 provides a new type called dynamic.

With this dynamic type, we can avoid compile time exceptions for method or property call. Compiler will just ignore dynamic types at the time of compilation. However, they will be evaluated at run time.

During the compile time, the variables of dynamic types are compiled into “object” type. So, type “dynamic” exists only at compile time, but not at run time.

This dynamic type can be used in following scenarios:

  • A private field
  • A public property
  • Method return type

Posted in .Net | Leave a Comment »