1,255,999
clicked '
Ask Pex!
'
Sign In
Random Puzzle
Learn
APCS
New
C#
Visual Basic
F#
The code is a puzzle.
Do you understand what the code does? Click
Ask Pex!
to find out.
using System; using System.Linq; public class Program { // What numbers reveal the secret? Ask Pex to find out! public static void Puzzle(int[] numbers) { var filteredNumbers = from n in numbers where n == 42 select n; if (filteredNumbers.Count() > 0) Console.WriteLine("found secret"); } }
Permalink
Coding Duel Name:
Help
Community
Live Feed
Publications
About
© 2013 Microsoft - Pex v0.94 - .NET v4 -
Terms of Use
-
Privacy