1,230,322
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.Collections.Generic; public class Program { // What values of list and i can cause exceptions? Ask Pex to find out! public static void Puzzle(List<int> list, int i) { if (list[i] + 1 == list[i + 1]) throw new Exception("hidden bug!"); } }
Permalink
Coding Duel Name:
Help
Community
Live Feed
About
© 2013 Microsoft - Pex v0.94 - .NET v4 -
Terms of Use
-
Privacy