How to solve this problem, storing values persistenly of files in a directory.?
<p>I'm developing a window application in VS2005 using C#. In my project I generate dll's and store them in a directory. The dlls will be named as TestAssembly1, TestAssembly2, TestAssembly3 etc.</p>

<p>So Consider if the above three dlls are in the Directory. The next time the user uses my project i need to generate dlls like TestAssembly4, TestAssembly5 etc. </p>

<p>So how can i do this.? i.e Store the count of the dlls in the folder and increment them when the project is used the next time.</p>

<p>even the directory can contain files other than dlls. So how can i do this.? Thanks in advance.</p>
