对List集合去重:
foreach (var item1 in projectName)//对项目名称去重
{
if (projectName1.Exists(m => m.ProjectName == item1.ProjectName) == false)
{
projectName1.Add(item1);
}
}