0 comments Wednesday, April 25, 2007

Hi,

Find out about the general-purpose query facilities added to the .NET Framework that apply to all sources of information, not just relational or XML data. This facility is called .NET Language Integrated Query (LINQ).

example

using System;
using System.Query;
using System.Collections.Generic;
class app {
static void Main() {
string[] names = { "Burke", "Connor", "Frank",
"Everett", "Albert", "George",
"Harris", "David" };
IEnumerable expr = from s in names
where s.Length == 5
orderby s
select s.ToUpper();
foreach (string item in expr)
Console.WriteLine(item);
}
}

0 comments

Hi,

Microsoft released Beta 1 of its upcoming IDE and interim framework late last week. This next version of Visual Studio, called "Orcas" for now, will offer developers as many as 200 new features, according to Microsoft.

http://www.ftponline.com/channels/net/2007_04/krichards/

Regards
Pankaj