using System.Query;
using System.Data.DLinq;
using System.Xml.XLinq;
Buttonclick for using length
{
string[] Emp= {"Balachandran", "chandran", "Bala", "Boss", "Rose", "Ram"};
IEnumerable
from Emp in Employeees
where Employeees.Length < 5
select Employeees;
foreach(var Employeeesin Findthelength)
{
Messagebox.show(Employeees);
continue
}
}
Buttonclick for using Startswith
{
string[] Emp= {"Balachandran", "chandran", "Bala", "Boss", "Rose", "Ram"};
IEnumerable
from Emp in Employeees
where Employeees.startswith("B")
select Employeees;
foreach(var Employeeesin Findthelength)
{
Messagebox.show(Employeees);
continue
}
}
}
No comments:
Post a Comment