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.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Can anybody tell me why my code isn't working?
I try to write a string to a .txt File.
The signature for WriteAllText is, first parameter is the path and filename while the second is for the string contain information to write to parameter 1.
public static void WriteAllText (string path, string? contents);