Textgen in c# lang