Some time ago I wrote a post showing how to implement a generic binary search tree data structure in C#. In today’s post I will provide a way of extending the binary data structure in order to be able to use LINQ in order to query it. In order to be able to use LINQ over a custom data structure, all that we have to extend our data structure such that it implements the IEnumerable<T> interface. This is due to the fact that LINQ provides a set of extension methods that extend the functionality of types inheriting from IEnumerable<T>.
(more…)
Summer has come and with it a new edition of the .Net Summer Rally training organized by the Microsoft Student Partners from the Technical University of Cluj-Napoca. This is the third edition of the course and I am very pleased to say that it draws more and more students interested in improving their coding skills.
(more…)
Microsoft announced at MIX ‘09 on March 18 the release of Silverlight 3 beta. One can download the release from here. Some of the new features that Silverlight will bring in this new release include support for H.264 format, new hardware accelerated graphics and animation features, better search engine optimization and out of browser support.
(more…)
For those of you that don’t know what Silverlight here is a short definition: Silverlight is a web platform developed by Microsoft that targets web applications rich in multimedia content. It’s direct competitor is Adobe Flash. (more…)
It has been a long while since I actually got to implement some tree data structures, and in order not to get rusty, I’ve decided to try to create a simple Binary Search Tree in C#. My main goals for this piece of code was to create a BST in one of the most general ways possible. This being said, I’ve decided to use generic classes to define the
(more…)
The specification of C# 3.0 presents some interesting new features. Today I choose to speak of extension methods. This methods are a programming trick that allow the programmer to add new methods to existing classes without having access to the source file of the class. One of the questions that could rise is: Why would such a feature be useful? Well, first of all, it’s most important benefit would be the ability to keep the code cleaner and easier to read, but it also provides a powerful model for programmers to (more…)
On the 7th of December, we will host the Academic Tour version 4. This event was organized by us (the Microsoft Student Partners from the Technical University of Cluj-Napoca) and was focused on web technologies. The targeted technologies were: Linq (Language Integrated Query), ASP .Net 3.5, (more…)
Visual Studio 2008 is finally ready. Even though the official launch will be somewhere in February, VS 2008 is available for download to MSDN Subscribers. Also, trial versions are available at http://msdn2.microsoft.com/en-us/vstudio/products/aa700831.aspx . The express editions can be found at http://www.microsoft.com/express/interest/default.aspx . This edition comes with a lot of improvements and new features like multithreaded debugging, java script debugging, multi-targeting support (more…)
A few days ago I watched a very interesting video on Channel 9 about partial methods in Visual Studio. This is a new .Net feature that will basically allow you to get as detached from a designer generated code as you can get, without having any performance drawbacks. This is due to the fact that this technique does not generate any overhead. How can this be (more…)
Yes, that is correct. Microsoft is releasing source code for the .Net Framework in order to help developers in the debugging process. This will be a very cool feature in Visual Studio 2008. The source code comes with Microsoft Reference License, (more…)