fork download
  1. public void Luu(string filePath)
  2. {
  3.  
  4. StreamWriter writer = new StreamWriter(filePath);
  5.  
  6. for (int i = 0; i < mangPS.Length; i++)
  7. {
  8. string s = $"{mangPS[i]}";
  9. writer.Write(s);
  10.  
  11. writer.Close();
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,9): error CS1525: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', `ref', or `struct'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty