Search
Tuesday, April 1, 2008
LINQ:
- LinQto Object : use of standard query operator (SQO) for pulling data from any object that can be implemented by interface IEnumerable. This query can be use for data in memory.
- LinQ to ADO.NET: LinQ to SQL , LinQ to dataset, LinQ to Entities
- LinQ to XML
hello word in LinQ:
class Program
{
static void Main(string[] args)
{
string[]helloWord={"hello","this","is", "LINQ","by","Philip","H" };
var results = from word in helloWord where(word[0]>'g' || (word[0]>'K'&& word[0]<'M')) select word+' ';
foreach(var wordItem in results) Console.Write(wordItem);
}
}
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment