Witam
Próbuje użyć:
using System.IO;
//...
//...
File.Move(@"C:\Users\plik.txt", @"C:\Users\plik_2.txt");
I otrzymuje błąd kompilatora :
Error CS0103 The name 'Move' does not exist in the current context.
Error CS0103 The name 'File.Move' does not exist in the current context.
Z informacji wynika, że funkcja nie jest rozpoznawana, co trzeba w programie dopisać, żeby jej użyć?
Pozdrawiam