Salve, sto eseguendo la scrittura su un file:
il compilatore mi da il seguente errore:
invalid token 'using' in class,struct, or interface member declaration
Perchè?
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using System.Collections.Generic;
namespace label
{
    public class WriteToLabel
    {
         static void Main(string args)
         {
         
             //Customize the path you want write your label status here
             public const String filepath = "C:\\Users\\Alberto\\Desktop";
   
             string[] s = {"White"} ;
             using (StreamWriter f = new StreamWriter("filepath",true))
             { 
             f.WriteLine
             }
         }
    }
}