String [] obj = (from c in db.Contacts
where c.FirstName.StartsWith(prefixText)
select c.FirstName).ToArray();
return obj;
StartsWith() and EndsWith() can help you a lot here. If you want to find data in between the field, then Contains() can be used.