Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there function like strtofile() in .NET framework?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01294090
Message ID:
01294266
Views:
21
This is basically what I use:

public void writetofile(string yourfilename, string yourstringtowritetofile)
{
FileStream fs = new FileStream(yourfilename, FileMode.Create);

for (int i = 0; i < yourstringtowritetofile.Length; i++)
fs.WriteByte((byte)yourstringtowritetofile[i]);

fs.Close();
}

The above is provided "as is" and is without warranty of any kind...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform