Wriju's BLOG

.NET, Cloud and everything

C# 4.0: My First Dynamic Program

I am super excited to see Anders demonstrating C# 4.0 for first time in public. I am a real fan of him and downloaded the public bit to tryout. Here is my first Dynamic C# 4.0 program.


 


There is nothing much to be excited from my Program but I am very much after hitting F5.


 


static void Main(string[] args)


{


    dynamic i = 10;


    dynamic sHello = “Hello C# 4.0”;


 


    Console.WriteLine(i);


    Console.WriteLine(sHello);


}


 


More to come.


 


Namoskar!!!