static int Compare(Flower f1, Flower f2) //---Sort { return(f1.Price == f2.Price? 0 : f1.Price > f2.Price ? 1 : -1); }
static void ShowFlower_2(Flower f, char ch)//---ForEach { Console.WriteLine(f.Type + " " + f.Name + " " + f.Price); }
static bool ExpenciveOnly(Flower f)//---FindAll { return(f.Price > 50); }
static bool FindBlooming(Flower flower)//---FindAll { return(flower.Type == "Квітучі"); }
static string ComposeStrings(Flower f)//---Select { return(f.Name + ":" + f.Type + ":" + f.Price.ToString()); }
static string SelectNames_2(Flower f)// -- Select { return(f.Name); }
static string SelectNames(Flower f, int ind)// -- Select { return("[" + ind.ToString() + "]" + f.Name); }