将List 转换为List 以下内容无法编译:public List<Guid?> foo() { List<Guid> guids = getGuidsList(); return guids; } 最佳答案 像这样return guids.Select(e => new Guid?(e)).ToList();