lets assume I got a listbox which keeps updating and contains for example:
Apple Juice -- 18 EURO
Orange Juice -- 14 EURO
Juice Berry -- 12 EURO
Juice Dates-- 56 EURO
And I have a textbox, where I would write the term:
Apple
Dates
And my desired output would be:
Apple Juice -- 18 EURO
Juice Dates -- 56 EURO
To clear the confusion, I am trying to build a filter where I have lots of juice types and by typing a favorable juice type it would search for the juice types from the big list and filter them and display them into a standalone favorable list
What I have tryed so far :
MyClass result = list.Find(x => x.Id == "Apple");
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…