Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
learning1
//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) { Program p = new Program(); p.linq1(); } public void linq1() { int[] numbers = {5, 4, 1, 3, 9, 8, 6, 7, 2, 0}; var lowNums = from n in numbers where n < 5 select n; var lowN = from n in numbers where n >cool coo5 select n; lowNums= lowN; Console.WriteLine("Numbers < 5"); foreach ( var x in lowNums) { Console.WriteLine(x); } } } }
run
|
edit
|
history
|
help
0
HDEFDCSA SS0546254
ö1
Subdomain regex
Reverse And Shift Char in String
Interlocked Class (atomic operations)
Linq FirstOrDefault() null check in c#
Some Fibonacci
Liczba powtórzająca
c# yamuk çizgi
learning1