Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Hello Demo
c++
Count the number of capital letters, small letters, digits, spaces and special characters.
Command line arguments parser (Lightweight, robust, flexible)
haha
Few Programs that would help in interviews
*271*271#
axasxasxasaxsd
Explanation about Aggregate method in C#
Extract all possible substrings from a string
Please log in to post a comment.