Showing posts with label .net. Show all posts
Showing posts with label .net. Show all posts

2014-03-13

Tail Recursion and C#

Tail recursion is a powerful optimization since it typically improves both execution time and memory usage for recursive calls. It can also be your enemy if you forget about it.

2014-02-27

Comparing two null objects

Maybe it is my experience with databases but I have always thought that whenever you compare something with null it is always false. Obviously there are some exceptions.