dynamic keyword .NET 4.0 is used as a data type. It is simillar to the var keyword in the sense it can hold any object type which is dynamically created.
Ex:
dynamic mycalc = GetCalculator();
int sum = mycalc.Subtract(900, 500);
www.codecollege.NET
0 comments
Post a Comment
Note: Only a member of this blog may post a comment.