Write a String to a .txt File

RobinJ 276 Reputation points
2020-12-05T21:12:55.823+00:00

Hey everyone,
Can anybody tell me why my code isn't working?
I try to write a string to a .txt File.

System.IO.File.WriteAllText(confirmation);
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,204 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful