C# 3.0 Tutorials: Implicitly typed local variables 18

C# 3.0 Tutorials: Implicitly typed local variables
This is the third article of C# 3.0 tutorial series. We will take a look the first feature called “Implicitly typed local variables declaration” in this article. What is Implicitly typed local variable? Implicitly typed local variable is a variable that can be declared without specifying the .NET type explicity. The type of that variable ...

C# 3.0 Tutorials: Object and Collection Initializers 2

C# 3.0 Tutorials: Object and Collection Initializers
Howdy everybody! This is the second part of my C# 3.0 tutorial series in my blog. Today, we are gonna talk about object and collection initializers, one of the features of C# 3.0. This feature allows you to initialize the entity object or collection in very easy way that we’ve never done before. When I ...