SyntaxFix
Write A Post
Hire A Developer
Questions
Try using string.Contains () combined with EndsWith.
var results = from c in db.Customers where c.FullName.Contains (FirstName) && c.FullName.EndsWith (LastName) select c;