using System.Linq;
using System.Text;
namespace MyConsoleApp
{
class Program
{
static void Main(string[] args)
{
}
}
}
A First Look at LINQ Query Expressions
To begin examining the LINQ programming model, let’s build simple query expressions to
manipulate data contained within various arrays. Create a .NET 3.5 Console Application
named LinqOverArray, and define a static helper method within the Program class named
QueryOverStrings(). In this method, create a string array containing six or so items of your
liking (here, I listed out a batch of video games I am currently attempting to finish).
static void QueryOverStrings()
{
Do'stlaringiz bilan baham: |