using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
public class MainClass{
public static void Main(string[] args){
String[] QueryString = { "One", "Two", "Three", "Four", "Five" };
var ThisQuery = from StringValue in QueryString
where StringValue.Length > 3
select StringValue + "\r\n";
foreach (var ThisValue in ThisQuery)
Console.WriteLine(ThisValue);
}
}
|