int[] numbers = { 1, 2, 3, 4, 5 }; var evenNumbers = from n in numbers where n % 2 == 0 select n; This code uses the from , where , and select keywords to query the numbers array and retrieve the even numbers.
.NET Framework 3.5: A Comprehensive Overview** .NET Framework 3.5
For example, consider the following code snippet that uses WF to create a simple workflow: int[] numbers = { 1, 2, 3, 4,
<Window x:Class="MyWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Title="My Window" Height="300" Width="300"> <Button Content="Click Me!" /> </Window> This code defines a simple window with a button that displays the text “Click Me!”. int[] numbers = { 1