text: public virtual void Create(string id, string title, string time, string body){DirectoryInfo d = Directory(count++, null);d.Create();FileInfo f = new FileInfo(System.IO.Path.Combine(d.FullName, id + ".txt"));StringBuilder contents = new StringBuilder();contents.Append(time);contents.Append("\n\n");contents.Append(title);contents.Append("\n\n");contents.Append(body);contents.Append("\n");try{using (TextWriter writer = new StreamWriter(new FileStream(f.FullName, FileMode.Create, FileAccess.Write), Encoding.UTF8))writer.Write(contents.ToString());}catch (IOException ioe){throw new Exception(ioe.ToString(), ioe);}}