convert class object collection to List

Posted by prince23 on Stack Overflow See other posts from Stack Overflow or by prince23
Published on 2010-05-11T01:38:54Z Indexed on 2010/05/11 1:44 UTC
Read the original article Hit count: 229

Filed under:

hi, here i have an return type as class object collection. where Emp is class , having properties like Fname, lname,Age

WebApplication1.kumar .Job  Emp = objEmp.GetJobInfo2(1);

i need to convert the oject collections into List

List objEmp = new List();

what is the steps that i need to do here to convert class object to List

thanks in advance

© Stack Overflow or respective owner

Related posts about ASP.NET