C# 4.0 introduces a new static type called dynamic. When an instance variable is defined with the type dynamic, the compiler ignores the call and won't complain. These actions are picked up at runtime. Here are comparison with C# 3.0 and C# 4.0 using Dynamic Types. Let say I the following code in C# 3.0 // will not work in c# 3.0 object o = "farooq"; Console.Write(o.Insert(o.Length, " Kaiser "));
// will work in c# 3.0 object o = "farooq"; string myN...
No comments yet, be the first one to post comment.