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:
01294392
Views:
23
>>Dear .NET experts,
>>
>>I want to log error information into a text file. In VFP I would do it with a simple STRTOFILE() function. Is there something like that in .NET?
>>
>>Thank you.
>
>How about the static method File.WriteAllText(...)? There is also a write-all-bytes which I use all the time. The file class has a lot of cool members.

Thank you, Einar. I have some really good ideas from everybody.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform