-2

i would like to know how i can find the best match word in the database using Linq

for example ->

user ask for "playtation" and linq returns "playstation, playstation 4, playstation 3"

1 Answers1

-1
var query = from item in source
            where item.StartWith("playstation")
            return item;

foreach(var q in query)
      Console.WriteLine(q);
Marek Woźniak
  • 1,766
  • 16
  • 34