I am trying to create a hierarchy from excel file. The sample data as follows:
Path    Description
1            a
1.1          b
1.1.1        c
1.2          d
1.3          e
Now, I need to read each cell and check if it has child or not,
the output must be as,
Path           Description
1              a
 1.1           b
  1.1.1        c
 1.2           d
 1.3           e
How can I achieve this using C# and print it on console? Please Help me.