My following code doesn't work:
string[] createText = { "Test" };
Windows.Storage.StorageFile file = await DownloadsFolder.CreateFileAsync("MyTest.txt", Windows.Storage.CreationCollisionOption.ReplaceExisting);
await Windows.Storage.FileIO.WriteLinesAsync(file, createText, Windows.Storage.Streams.UnicodeEncoding.Utf8);
I ask for proffessional help.
Error: Parameter is not correct.