S
Sudip_inn
Guest
var list10Qk = dt10QkBogey.AsEnumerable()
.Select(row => new PeriodicalData
{
Section = (row.Field<string>("TabName")).ToString(),
LineItem = (row.Field<string>("StandardLineItem")).ToString(),
XFundCode = (row.Field<string>("XFundCode")).ToString(),
StandardDate = (row.Field<string>("StandardDate")).ToString(),
StandardValue = (row.Field<string>("StandardValue")).ToString()
}).ToList();
here is a code snippet and this way i populate my list using ToList(). so i want to know can i use TolistAsync() to populate my list instead of TolIst()?
now i am using dotnet v4.5.2. so tell me in which version TolistAsync() available ?
when to use TolistAsync() ?
thanks
Continue reading...
.Select(row => new PeriodicalData
{
Section = (row.Field<string>("TabName")).ToString(),
LineItem = (row.Field<string>("StandardLineItem")).ToString(),
XFundCode = (row.Field<string>("XFundCode")).ToString(),
StandardDate = (row.Field<string>("StandardDate")).ToString(),
StandardValue = (row.Field<string>("StandardValue")).ToString()
}).ToList();
here is a code snippet and this way i populate my list using ToList(). so i want to know can i use TolistAsync() to populate my list instead of TolIst()?
now i am using dotnet v4.5.2. so tell me in which version TolistAsync() available ?
when to use TolistAsync() ?
thanks
Continue reading...