CSharpFeeds - All your C# feeds in one place.

Wednesday, December 19, 2007

Immutability in C# Part Seven: More on Binary Trees

by Eric Lippert via Fabulous Adventures In Coding on 12/19/2007 8:01:00 PM

Lots of good comments on my previous post. To briefly follow up: One of the downsides of immutable tree implementations is that usually the tree must be built from the leaves up, which is not always convenient. We'll look at implementations which hide this fact from the user in future posts. One smartypants pointed out that sure, this tree can have cycles -- if you have another binary tree implementation that has cycles and then paste such a cyclic tree in. True; what I meant was that using ...

[ read more ]

Run a Sequence of Tasks One by One with .NET Threading

by Keyvan Nayyeri via Keyvan Nayyeri on 12/19/2007 2:44:17 AM

Recently I've been working on a dynamic Windows Application written with Visual Basic to iterate through a huge list of different servers at different locations and upload and download some files to or from them automatically. This applications runs automatically every night to move data to a center and send updated data back to clients. To connect to the remote servers I used a component that was connecting via an asynchronous operation. It means that your code execution can follow while this o ...

[ read more ]

Extension Methods Hello World

by gavin via elephantsintheroom.org on 12/19/2007 1:15:00 AM

Extension methods allow you to create new public methods for a type without having to edit the type's code. They have been used by Microsoft in the implementation of Linq. The following example shows how int[] has been extended with a Min() method.     using System.Linq;//without this, the int.Min extension will not be available namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int[] intArray = { 12, 24, 45 }; ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us