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
sadfghjklö
Main3-3
Numbers separated by space
-Wall -std=c++14 -O0 -o a.out source_file.cpp
person-student-teacher
Index.cshtml
Test
5454
12
file Info and File Stream