public void tbp()
        {
            // Thread ts = new Thread(MakeOne);
            // ts.Start();
            read a = new read();

            pathg = pathg.Distinct().ToList();

            string[] de = pathg.ToArray();
            pathg.Clear();
            // Thread t1=new Thread(new ThreadStart(new (a.readfile(ref path,i))));
            a.readfile(ref de, i);
        }
 public void tbp()
 {
     
    // Thread ts = new Thread(MakeOne);
    // ts.Start();
     read a = new read();
     pathg = pathg.Distinct().ToList();
 
     string[] de=pathg.ToArray();
     pathg.Clear();
     // Thread t1=new Thread(new ThreadStart(new (a.readfile(ref path,i))));
     a.readfile(ref de, i);
 }