c# - Convert List< Guid > to List< Guid? > -
what best practice convert list< guid > list< guid? >
the following not compile:
public list<guid?> foo() { list<guid> guids = getguidslist(); return guids; }
something this
return guids.select(e => new guid?(e)).tolist();