خرید بک لینک

Vote count: 0

I've been trying to make a list search method where I could present the items in the list unaffected and after a week going through every search method I could find I realizes that I'm stuck.

The list (posts) stores arrays if that makes any change, this is the search function I got this far that have worked the best but it's case sensative,

    string searchKey; 
    Console.WriteLine("nEnter key: ");
    searchKey = Console.ReadLine(); 

    foreach (string result in posts.Where(logg => logg.Contains(searchKey))) 
    {
        Console.WriteLine("n{0}", result);
    }

Does so I hope that someone know about some great method that I've missed even if I start to think that I'm screwed and should go for some other system instead.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 18 ارديبهشت 1395 ساعت: 22:54

صفحه بندی