Welcome to MSDN Blogs Sign in | Join | Help

Wriju's BLOG

.NET and everything

Browse by Tags

All Tags » C# 4.0   (RSS)
C# 4.0: Improved COM Interop
The question often arises what is so special in C# 4.0 about COM Interop. To me it is a lot. I will try to explain why.. Assume you are trying to get the list of proccess running locally in your machine and creating them using Excel chart and copying Read More...
C# 4.0 and Parallel Programming Resources
C# 4.0 The Future of C# by Anders Hejlsberg at PDC 2008 http://channel9.msdn.com/pdc2008/TL16/ Slide Deck http://mschnlnine.vo.llnwd.net/d1/pdc08/PPTX/TL16.pptx Sample Code and Whitepapers http://code.msdn.microsoft.com/csharpfuture/ C# 4.0, Dynamic Programming Read More...
C# 4.0 : Co-variance and Contra-variance
Here I am going to talk about the feature called Covariance and Contravariance. To show you the example I will use delegate. Now what is it? This would be a big question and with no hesitance I must say that you should visit Eric’s blog . There are some Read More...
C# 4.0 : New Extension Method “Zip”
While browsing the features I found an interesting extension method called “Zip”. How it works, let’s check it. List < string > names = new List < string > { "Debajyoti" , "Sumitra" , "Wriju" , "Writam" , "Tupur" }; List < int > ages Read More...
C# 4.0 : Named Arguments
For methods having numerous arguments we tend to get confused. And this is also pain for others while reviewing the code. C# 4.0 gives us an opportunity to pass parameters with name. How it works, let’s check it. Suppose you have a method like below, Read More...
C# 4.0 : Optional Parameters
Days of creating multiple overloads to avoid parameters are gone. You no more have to create many methods and pass the default one there. C# 4.0 brings to us the concept of “optional” parameters. How it works, let’s check it. Suppose you have a method Read More...
C# 4.0 : Dynamic Objects
“Working with dynamic objects statically ” – Anders Hejlsberg When you work with C# 4.0 you get to work with many unmanaged world “dynamically”. What does that mean to you? It means you do not do things “statically” as you used to do in C# or in VB.NET. Read More...
C# 4.0: My First Dynamic Program
I am super excited to see Anders demonstrating C# 4.0 for first time in public. I am a real fan of him and downloaded the public bit to tryout. Here is my first Dynamic C# 4.0 program. There is nothing much to be excited from my Program but I am very Read More...
Page view tracker