public IEnumerable<Employee> Filter(List<String> civstat)
{
string[] civil_status = new string[] { civstat };
}
How to convert the List parameter to a string?
public IEnumerable<Employee> Filter(List<String> civstat)
{
string[] civil_status = new string[] { civstat };
}
How to convert the List parameter to a string?
If u want to convert a List into a string try this :
Convert a list to a string in C#
If u want to convert a List into a string array (string[])
use
civstat.ToArray();
civstat.ToArray();
https://msdn.microsoft.com/de-de/library/x303t819(v=vs.110).aspx
Took 1 sec to google