Back to basics – Part 1..of..n-1 – Algorithm to Merge Sorted Sequences using C#

This is another episode of the “so called my sporadic” series, mentioned long long time ago. This time we’ll be discussing the biggest merger ever in the United States History, Merger of two Sorted Sequences :)  like arrays, lists etc. I’ll try to go from more concrete to generic one, like taking ‘int’ sequences as concrete type and end up with generic<t> that caters all types. More...

Disposable Pattern in .NET

Garbage collector (GC) is a blessing in .NET, if you happen to program in C++ in the past, where it was one of the prime responsibility of a developer was to manage the heap.More...

Recursion Applied using Delegates & Lambda Expressions

Yesterday, I came across an excellent article on “Anonymous Recursion in C#” by Wesdyer, I thought I’ll give a try on applying Delegates and Lambda Expressions in solving a recursive problem. More...

Rules || “Rulers” in WPF – Power of Recursion

Recursion always been a power full tool of solving the most complicated problems in a very elegant manner, but at the price of space (as it is based on stack). The problems we solve with recursion are usually involve divide and conquer, trees traversal / graphs traversal etc.More...

Posted New Live Writer Plugin – On the Fly | Zip it | Attach it

[digg]

This is a windows live writer zipping plug-in that allows you to select files / folders and zip them on the fly  that will appear as attachment inserts, while you are writing blogs. Its kind a handy that you may want different selections at different times while blogging and keep on adding to the list and then zip them.More...

Posted New Live Writer Plugin – On the Fly | Zip it | Attach it

[digg]

This is a windows live writer zipping plug-in that allows you to select files / folders and zip them on the fly  that will appear as attachment inserts, while you are writing blogs. Its kind a handy that you may want different selections at different times while blogging and keep on adding to the list and then zip them.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...