List<class> ListeAl()
{
List<class> liste = new List<class>();
return liste;
}
Aşağıdaki şekilde yapmayı deniyorum ama,
cannot convert from 'System.Collections.Generic.IEnumerable<string>' to 'WebNet.Form1.MyClass'
hatası veriyor.
List<MyClass> liste = new List<MyClass>();
liste.Add(titles);
liste.Add(username);
..
..
return list;