|
|
Browse by Tags
All Tags » .NET » C# 3.0
Showing page 1 of 2 (12 total posts)
-
Don't you just hate the fact that only some collection classes provide a possibility too add more than one item at once (such as List<T> does offer via AddRange).
This means that often I'm writing this kind of code:var q = <some cool linq query>;
foreach(var i in q)
{
someCollection.Add(i);
}So I decided to ...
-
In the project I am currently working on we use a domain model with a quite deep nested structure of classes, code like the following is quite common.
// do something with the Adress
Console.Writeline(Contract.Parties.Client.Adress.Street);
The problem with this is that not all Contacts have a related Parties object and if we do have a ...
-
The new LINQ CTP also support lamba statement block, instead of only expressions. Still only expressions are compilable to expression treeds though (hence the name *expression* trees..)
Anyway, this offers the opportunity to do away with anonymous method syntax. See the sample below: no more explicit typing of your parameter, it will be ...
-
When you have installed the latest LINQ preview and have installed the Language Service, you wil notice that all of a sudden all the smart tags and refactoring commands stop working.
The first time I solved this by reinstalling VS (somewhat harsh and time consuming :-)) It turns out that you also kan have both LINQ and smart tags by fixing a ...
-
Recently I did a talk about WinFx for a group of students that were attending our IT Seminar.
I this seminar we highlighted topics on both the Java and the .NET side of the world.
My talk was about WinFx, presenting an overview of all the new Technologies that will be available somewhere at the end of the year.
Anyway here are ...
-
We have a saying in holland, and it's “better late than never” and boy does this apply here. I promised to put the samples and slides of my talk at the DevDays online.
I've been having some difficulties with my ftp site, but now it's all working again.
So I decided to put it online after all.
Here they are:C# 3.0 & ...
-
As you might already have noticed, I'll be speaking at DevDays 2006.
I will be doing a talk on LINQ and the underlying features that have been added to C# 3.0 to make this programming paradigm possible. If you are interested on some info up-front, read the article I wrote during the PDC on this topic.
The full set of sessions can be ...
-
I've been experimenting with XLinq, so that you can just use class names. So instead of XElement(”Foo”) you just write Foo. This reduces the number of code lines even further, and also allows for more Intellisense and compile time checking.
I put the results of this experiment in a little article. Please let me know what you ...
-
I will be giving a talk for Software Developer Network (www.sdn.nl). I will be covering how XLinq works, how it is related to Language Integrated Query and what are its advantages over traditional Xml programming.
The talk is part of an SDN Software Developer Event and the theme of the event is XML & Deployment. Of course, there are ...
-
If you are (just as I am) impressed with LINQ and think I will fundamentally change the way we write programs, you just need to get the refresh that is available to make it work on the release version of Visual Studio 2005.
Get it here: http://msdn.microsoft.com/netframework/future/linq/
1
|
|
|