NotebookGenerator C# program