Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .Net » C# 3.0
When using Unity as your IoC container , one way to configure the container is to use an configuration section in your app.config or web.config file.  A simplified example of this configuration is shown below: 1: <? xml version ="1.0" Read More...
I was watching a presentation today and there was a point brought up that I found really interesting. Say you have the following LINQ code: 1: int [] iArray = new int [] { 5, 4, 3, 2, 1, 0 }; 2:   3: IEnumerable< int > results = iArray.Select(i Read More...
.NET 3.5 added some new classes that really help when dealing with RSS/ATOM feeds.  These classes are located in the System.ServiceModel.Syndication namespace in the System.ServiceModel.Web.dll library.  The SyndicationFeed class in this namespace Read More...
Some of my recent posts have mentioned the Parallel Extensions to the .NET Framework CTP that was released in December by the Parallel Computing Team at Microsoft. This post is meant to give an introduction to the Parallel Extensions, as well as some Read More...
In my recent post Overcoming the Limitations of Anonymous Types , I talked about ways to get around the method scope and read-only limitations of anonymous types. These were fairly simple examples that used reflection to gather data from the type once Read More...
It seems clear that the new anonymous types feature for C# 3.0 is going to be very useful, however there are a few limitations that come along with them: limited scope and read-only properties. Anonymous types have a method scope. This means that if you Read More...
LINQ is really cool. There are tons of examples on the web that show you how to use LINQ to query a database, xml file, text file or collection. This is what LINQ will primarily be used for; to simplify and support the need to provide an association between Read More...
I have been playing around with some of the new C# 3.0 features, and I really have to say that I like the anonymous types. In reality, they do not present a great advantage over typical code defined classes, but they are simple and easy to use and require Read More...
 
Page view tracker