المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Creating Various Files Using C#



C# Programming
01-23-2013, 12:23 PM
Hi All, I've seen the reading of text from and writing of text to a file using C# StreamReader and StreamWriter. Also the file created is of type text. I was wondering if I can create various file types like CSS, HTML, **********, etc simply by giving each file name an appropriate extension it requires. I don't have visual studio on hand so I can not test my idea. Thank you in advance for your reply.