Recursion can be a bit tricky to master, however comes handy in many situations. One very common and popular use is to build treeview structure. Here is a very simple approach of building a treeivew recursively in C#. Before we jump into recursion we need to realize the specific style to store the data, here is the sample I have used. It uses a "ParentID" to determine whose child it is and this makes it possible to build a tree view to "n" levels of depth.