File Stream C#

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