Title: Dynamic keyword - Asp.net Course with Visual Studio 2010 - Lesson 2
Duration: 15 minutes
Summary: In this video, I will discuss some of the new features in C# 4.0. Specifically, I am going to talk about the dynamic keyword. In previous versions of C#, we were able to create variables of type object. We can store string, int and other types in them. But, then we had to do some castings to make sure we are using the correct type. With the dynamic keyword, you do not need to do any casting. You can declare the variable as 'dynamic', and store values of different type in the variable. In this video, I will create a class named Exam (certification exams) and add some properties and methods to the class to illustrate the points. In the next video we will make calls to the methods to explain the key features.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET, Visual Studio 2010, C# 4.0
Keywords: ASP.NET, Visual Studio 2010, C# 4.0, dynamic, default parameter, float.