|
|
Browse by Tags
All Tags » C# 3.0
Showing page 1 of 2 (16 total posts)
-
One of the most common data structures in Software Engineering is the tree. In the .Net framework for instance you can find them in the file system, the controls of a win-forms application, nodes in an XML document etc.
A common task with trees is to traverse all nodes to look for a specific node or perform an operation on each node. This is ...
-
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 Source code of the demos I gave during my presentation at DevDays 2006
-
The presentation I gave at DevDays 2006 about LINQ and C#3.0
-
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 ...
1
|
|
|