G
Guest
I have a function must return an one-row IEnumerable object. Any lesser cost
way than the following code?
static IEnumerable MyUDF()
{
DataTable dt;
dt.Columns.Add("Test");
dt.Rows.Add(1);
return dt.Rows;
}
way than the following code?
static IEnumerable MyUDF()
{
DataTable dt;
dt.Columns.Add("Test");
dt.Rows.Add(1);
return dt.Rows;
}