Код: Выделить всё
try
{
return Enumerable.Range(0, indexes.Count).Select(i => dataRows[indexes[i]]);
}
catch (ArgumentOutOfRangeException ex)
{
return null;
}
Подробнее здесь: https://stackoverflow.com/questions/790 ... -exception
Код: Выделить всё
try
{
return Enumerable.Range(0, indexes.Count).Select(i => dataRows[indexes[i]]);
}
catch (ArgumentOutOfRangeException ex)
{
return null;
}