online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
using System; using System.Linq; class HelloArray { static void Main() { int[] tab1 = { -5, -4, -3, -2, -1, 0, 1, 2, 3, 4 }; int[] tab2 = new int[10]; Console.WriteLine(String.Join(" ", tab1)); tab2 = tab1.Where(e => e > 0).ToArray(); Console.WriteLine("1. " + String.Join(" ", tab2)); Array.Clear(tab2, 0, tab2.Length); tab2 = Array.FindAll(tab1, e => e > 0).ToArray(); Console.WriteLine("2. " + String.Join(" ", tab2)); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue