var and dynamic types may create confusion. For both, the type is taking from the context rather than explicitly declared. But the differences are present on how to use them.
Optional parameters open new possibilities for C# developers, it can cause conflicts if the method call is equivalent to several signatures.
A new feature of C# 4 is the principle of named parameter.
One of the new language features coming in C# 4 is optional parameters. In large part, this is due to Microsoft’s plan of co-evolution with C# and VB.NET since VB.NET has had this feature for a while.
The GridView and ListView controls can let users select a row. In previous versions of ASP.NET, selection has been based on the row index on the page. For example, if you select the third item on page 1 and then move to page 2, the third item on that page is selected. This is not a natural method of selection.
One of the additions that has been made to ASP.NET 4 is the addition of two properties to the
Page class,
MetaKeywords and
MetaDescription. These two properties represent corresponding meta tags in your page.
Two functions to parse url from a text and convert them to simplified urls with TinyUrl.
Creating a function to calculate the age of a person.
A class to generate passwords.
Create a method of sending an email with pictures included.