Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there function like strtofile() in .NET framework?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01294090
Message ID:
01294266
Vues:
23
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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform