IndexMax(mapPointList, seznamIndex, point => point.X);
private void IndexMax(List<MapPoint> mapPointList, List<int> seznamIndex, Func<MapPoint, double> lambda) { double hodnotaMax = mapPointList.Max(lambda); int index = mapPointList.FindIndex(lambda == hodnotaMax);//Error CS0019 Operator '==' cannot be applied to operands of type 'Func<MapPoint, double>' and 'double' seznamIndex.Add(index); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)