Tag: C#4.0
-
Inserting in Excel file from C# collection using Open XML SDK 2.0
In this post I will show inserting rows in excel file from a c Sharp list using Open XML SDK. Open XML SDK is very useful when you don’t want to or cannot use Microsoft Office InterOP dll. You can download it from below URL http://www.microsoft.com/download/en/details.aspx?id=5124 Once you download and run the MSI follow the…
-
Named Argument in c# 4.0
Objective In this article I will talk about a very new and highly useful feature of c# 4.0. I will give introduction of Named Argument. I will give one sample on possible usage of Named Argument. Five facts about Named argument There is no need to remember order of the parameter in parameter list. The…
-
Dynamic type in c# 4.0
Objective This article will introduce dynamic type. This article will be giving samples on different usage of dynamic type in programming. Prerequisite: Visual Studio 2010 C# 4.0 is all about Dynamic Programming and type. 10 facts about Dynamic type C# 4.0 allows a new static type called “dynamic”. Any operation on the object of type…