Results for linq

linq OrderBy

Bhaumik Patel 7:29 PM
linq OrderBy descending or ascending linq OrderBy public static void OrderBy() { string[] words = { "cherry&qu...Read More
linq OrderBy linq OrderBy Reviewed by Bhaumik Patel on 7:29 PM Rating: 5

linq SkipWhile

Bhaumik Patel 6:48 PM
SkipWhile public static void SkipWhile() { int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 }; var allButF...Read More
linq SkipWhile linq SkipWhile Reviewed by Bhaumik Patel on 6:48 PM Rating: 5

linq TakeWhile

Bhaumik Patel 8:15 PM
Linq TakeWhile public static void TakeWhile() { int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 }; var first...Read More
linq TakeWhile linq TakeWhile Reviewed by Bhaumik Patel on 8:15 PM Rating: 5

linq Skip

Bhaumik Patel 7:41 PM
Linq Skip public static void Skip() { int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 }; var allButFirst4...Read More
linq Skip linq Skip Reviewed by Bhaumik Patel on 7:41 PM Rating: 5

linq take

Bhaumik Patel 7:07 AM
linq Take Partitioning Operators public static void Take() { int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 }; ...Read More
linq take linq take Reviewed by Bhaumik Patel on 7:07 AM Rating: 5

linq EqualAll

Bhaumik Patel 3:55 AM
linq EqualAll public static void EqualAll() { var wordsA = new string[] { "cherry", "apple", &quo...Read More
linq EqualAll linq EqualAll Reviewed by Bhaumik Patel on 3:55 AM Rating: 5

linq Concat

Bhaumik Patel 3:52 AM
linq Concat public static void Concat() { int[] numbersA = { 0, 2, 4, 5, 6, 8, 9 }; int[] numbersB = { 1, 3...Read More
linq Concat linq Concat Reviewed by Bhaumik Patel on 3:52 AM Rating: 5

linq Immediate Execution

Bhaumik Patel 4:29 AM
The following sample shows how queries can be executed immediately with operators such as ToList(). public static void Immediate_Execution...Read More
linq Immediate Execution linq Immediate Execution Reviewed by Bhaumik Patel on 4:29 AM Rating: 5

linq Deferred Execution

Bhaumik Patel 4:23 AM
The following sample shows how query execution is deferred until the query is enumerated at a foreach statement. public static void Deferr...Read More
linq Deferred Execution linq Deferred Execution Reviewed by Bhaumik Patel on 4:23 AM Rating: 5

linq ElementAt

Bhaumik Patel 4:19 AM
This sample uses ElementAt to retrieve the second number greater than 5 from an array. public static void ElementAt()         {           ...Read More
linq ElementAt linq ElementAt Reviewed by Bhaumik Patel on 4:19 AM Rating: 5

linq First Condition

Bhaumik Patel 4:16 AM
This sample uses First to find the first element in the array that starts with 't'. public static void First_Condition()         {...Read More
linq First Condition linq First Condition Reviewed by Bhaumik Patel on 4:16 AM Rating: 5

linq Repeat

Bhaumik Patel 4:10 AM
linq Repeat This sample uses Repeat to generate a sequence that contains the number 8 ten times. public static void Repeat()         {   ...Read More
linq Repeat linq Repeat Reviewed by Bhaumik Patel on 4:10 AM Rating: 5

linq Range

Bhaumik Patel 8:31 PM
linq Range This sample uses Range to generate a sequence of numbers from 100 to 149 that is used to find which numbers in that range are o...Read More
linq Range linq Range Reviewed by Bhaumik Patel on 8:31 PM Rating: 5

linq GroupBy

Bhaumik Patel 8:25 PM
GroupBy This sample uses group by to partition a list of words by their first letter. public static void GroupBy() { ...Read More
linq GroupBy linq GroupBy Reviewed by Bhaumik Patel on 8:25 PM Rating: 5

linq select query simple

Bhaumik Patel 11:15 PM
Select - Simple 1 static void Select_1_Simple()         {             int[] numbers = { 2, 3, 1, 4, 7, 8, 6, 5, 0, 9 };             var n...Read More
linq select query simple linq select query simple Reviewed by Bhaumik Patel on 11:15 PM Rating: 5