DotNetCrazynow
ASP.Net, C#, Web API, MVC
Friday, 7 April 2017
Write a query search name start with 'a' from table in Linq.
string[] names = { "Alonso", "Zheng", "Smith" };
var queryResults =
from n in names
where n.StartsWith("A")
select n;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment