Monday, July 30, 2018

Difference Between Var And Dynamic In C#

The keyword 'var' was introduced in C# 3.0 (.NET 3.5 with Visual Studio 2008) and the type 'dynamic' was introduced in C# 4.0 ( .NET 4.0 with Visual Studio 2010). Let us see the difference between these two.

source https://www.c-sharpcorner.com/Blogs/difference-between-var-and-dynamic-in-c-sharp3

No comments:

Post a Comment