I have the following code but I would like invoke
Select(GetID(with parameters).
double GetID(ID id)
{
double mId;
mId = id.getId(1, '0', 0, 10000);
return mId;
}
maxID = dataFile.PaternMatching(objId).Select(GetID).Max();
I would like have the following instead
double GetID(ID id, , int a, char c, int b, int d)
{
double mId;
mId = id.getId(a, c, b, d);
return mId;
}
maxID = dataFile.PaternMatching(objId).Select(GetID(1, '0', 0, 10000)).Max();
What I have tried:
double GetID(ID id, , int a, char c, int b, int d)
{
double mId;
mId = id.getId(a, c, b, d);
return mId;
}
maxID = dataFile.PaternMatching(objId).Select(GetID(1, '0', 0, 10000)).Max();