Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
select z kolekcji w kolekcji (np. dokumenty i pizycje)
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. 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 List<string> a1 = new List<string>() {"a1:a","a1:b","a1:c"}; List<string> a2 = new List<string>() {"a2:a","a2:b","a2:c"}; List<string> a3 = new List<string>() {"a3:a","a3:b","a3:c"}; List<List<string>> a = new List<List<string>>() {a1,a2,a3}; List<string> poz = a.SelectMany(q=>q).Where(q=>q.EndsWith("c")).ToList(); foreach(string p in poz) Console.WriteLine(p); } } }
run
|
edit
|
history
|
help
0
Compare list
Evaluating a Mathematical expression in a string in C#
program
Hello
Ordinalator
asxasdxsd
a
constructor execution sequence
Math v9.2
MightConst - Runtime Constwrapper Value (C#)