I am using linq query in that i need all the values so first i am using linq query and
after that i am taking all values in one List like this
var lst = ProjectContext.My_prj_project.Select(i => new
{
Name = list
}).Distinct().FirstOrDefault();
ProjectReportDetailsModels l = new ProjectReportProjectCategoryDetailsModels();
l.name= lst.Name; // here i am getting error
connot implicitly convert 'AnonymousType#1' to 'int'
So please send me any sample, example (or) related link
Thanks in Advance.