Write string to a text file : Text File Read Write : File Stream C# Source Code


Custom Search

C# Source Code » File Stream » Text File Read Write »

 

Write string to a text file








    


using System;
using System.Data;
using System.IO;



class Class1{
  static void Main(string[] args){      
      StreamWriter sw = new StreamWriter("practice.txt");
        sw.Write("www.navioo.com");
        sw.Close();
    }
}

           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo File Stream
» Text File Read Write