from u in datatable1 where u.name.Length == 4 && u.name.StartsWith("A") && u.name.EndsWith("Z") select u
datatable1.Select("Name LIKE 'A%' AND Name LIKE '%Z' AND LEN(Name) = 4");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)