Back to basics – Part o..of..n-1 – Binary Search Algorithm Explained using C#

This is a brand new (and “sporadic”) series where I’ll try to cover basics of computer science/engineering, like algorithms, data-structures, design-patterns, scrum, agile process etc., etc.. Today, I’ll be discussing about Binary Search algorithm, why I started right away with it. I don’t know, you tell me. : ), You know what, actually its one of my favorite : ) .More...

LegoDraw – Databinding of Composites in WPF

[digg]

My little one, she is 5 yrs old, and she likes to paint, draw and above all she likes to play the Lego blocks. I never think of a better idea than writing a simple application that mimics a little bit of Lego blocks – “LegoDraw”.More...

C# 3.0 Extension Methods As Adapters

[digg]

Extension methods provide public / internal extensions to the already existing types. And the design pattern that provides this functionality is the visitor pattern, but the draw back of the visitor is you have to have all the hooks planted in the class hierarchy  according to the pattern to make it workable. But the extension methods provide you this pattern right out of the box.More...

C# 3.0 Extension Methods As Adapters

[digg]

Extension methods provide public / internal extensions to the already existing types. And the design pattern that provides this functionality is the visitor pattern, but the draw back of the visitor is you have to have all the hooks planted in the class hierarchy  according to the pattern to make it workable. But the extension methods provide you this pattern right out of the box.More...

C# 3.0 Extension Methods As Adapters

[digg]

Extension methods provide public / internal extensions to the already existing types. And the design pattern that provides this functionality is the visitor pattern, but the draw back of the visitor is you have to have all the hooks planted in the class hierarchy  according to the pattern to make it workable. But the extension methods provide you this pattern right out of the box.More...

C# 3.0 Extension Methods As Adapters

[digg]

Extension methods provide public / internal extensions to the already existing types. And the design pattern that provides this functionality is the visitor pattern, but the draw back of the visitor is you have to have all the hooks planted in the class hierarchy  according to the pattern to make it workable. But the extension methods provide you this pattern right out of the box.More...

C# 3.0 Extension Methods As Adapters

[digg]

Extension methods provide public / internal extensions to the already existing types. And the design pattern that provides this functionality is the visitor pattern, but the draw back of the visitor is you have to have all the hooks planted in the class hierarchy  according to the pattern to make it workable. But the extension methods provide you this pattern right out of the box.More...

C# 3.0 Extension Methods As Adapters

[digg]

Extension methods provide public / internal extensions to the already existing types. And the design pattern that provides this functionality is the visitor pattern, but the draw back of the visitor is you have to have all the hooks planted in the class hierarchy  according to the pattern to make it workable. But the extension methods provide you this pattern right out of the box.More...