The following does it in a single line:
dataTable.Rows.OfType<DataRow>()
.Select(dr => dr.Field<MyType>(columnName)).ToList();
[Edit: Add a reference to System.Data.DataSetExtensions
to your project if this does not compile]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…