forum

Home / DeveloperSection / Forums / List<Class> to List<string>

List<Class> to List<string>

Manoj Bhatt 2644 31-Jan-2014
public class emp
{
    public int id {get; set; }
    public string name{ get; set; }
}
public class employee
{
    public List<emp> Result { get; set; }
}

I want to convert above class

List<employee> e=new List<employee>();

to

List<string> onj =new  List<string>();

Can anyone guide me? Thanks in advance.


c# c# 
Updated on 31-Jan-2014

Can you answer this question?


Answer

1 Answers

Liked By