How do I setup a nested/chained function within a C# Class
<p>Here is what I'm trying to setup</p>

<p>My class is named Inventory
I have a static function named List_Departments() </p>

<p>I would like to be able to add an additional function to modify the previous</p>

<p>For Example:   Inventory.List_Departments().ToHTML() would return an HTML formatted string containing the data from List_Departments()</p>

<p>If possible i'd like to reuse the same code for another function such as List_Categories()</p>

<p>I would really appreciate a nudge in the right direction on this. I just can't seem to find the correct terminology/ search term to pull up the info I need. Thank you very much for your help, and sorry for the somewhat stupid question. </p>
