Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Sequential n Take ex
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here var numbers = Enumerable.Range(0,20); var parallelResult = numbers.AsParallel().Where(i=>i%2==0).AsSequential(); Console.WriteLine("Parallel Result:"); foreach(int x in parallelResult.Take(5)) { Console.WriteLine(x); } } } }
run
|
edit
|
history
|
help
0
BRHOOM 111
CommandForce
EDFCSCSA V
Herencias
RHGFEC WQWQW
String to Byte[] Conversion
triangular matrix
Shorten SMS Text
EMV_RESULTAT
Array 10th grade