Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
where index
//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) { string[] digits = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" }; var shortDigits = digits.Where((digit, index) => digit.Length < index); Console.WriteLine("Short digits:"); foreach (var d in shortDigits) { Console.WriteLine("The word {0} is shorter than its value.",d); } } } }
run
|
edit
|
history
|
help
0
30272 Program Ex1
Ok
Sample
Olymp
List<int> into comma delimited string
Watch Jurassic World Dominion Online Free
entero_hacia_string
2 3
Fórum ➡ Convert from one format into another using LINQ ( as much as possible ) ♦
Overriding fields