and i have this list
- string[] names = { "jack", "harry", "James", "peter" };
- List <string> list32 = new List<string>(names);
i have tried this
- var mylinqQuery = from f in list32
- where f.Contains('a')
- select f;
Can somebody help me with this
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Dec 26, 2020, 11:32 PM EST
Jose HernandezRank #2,683 · 519 reputationPosted Dec 26, 2020, 10:46 PM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Dec 26, 2020, 11:04 PM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Dec 27, 2020, 12:22 AM EST