Software Development

Page 1 out of 3

How to find possible loops in hierarchy using sql

Using recursive queries...
Hierarchies are quite difficult to represent correctly in a flat structure such as that of a SQL Table. Recently, I had to work on finding possible looks in a db hierarchy. In this post I will share with you the tips I gathered all around the internet to solve this problem efficiently. Read more

Why is it a best practice to use var in c#?

Curiosities of the C# programming language...
The var keyword might appear a little bit deceiving sometimes, specially when involving Linq in the equation. Some developers (particularly novice ones) can't seem to draw the line between two things that are separate concepts. So, what is the best practice when using var in C#? Read more