List<string> to string[]
List<EntityName> device = dc.EntityName.Where(p => p.Id == userid).ToList();
string[] the_array = device.Select(i => i.PlayerID.ToString()).ToArray();
string to string[]
string someString = "something";
string[] stringArray = new string[]{ someString };