Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
lookup test
//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 list = new List<int>{1, 2, 3}; var lookup = list.ToLookup(x => x, x => x); Console.WriteLine(lookup[4].ToList().Any()); } } }
run
|
edit
|
history
|
help
0
Bubble Sort
kod 1
circl
Server last restarted
Multidimensional Arrays
test linq select
Create HardwareConfigs
1
Lp2
C# Abstract Syntax Tree Example: Compiler for a numeric expression