14
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int[] r4 = { 1, 3, 5 };
8
r4[0] = 7;
9
for ( int i=0; i < r4.Length; i++ )
10
{
11
Console.Write( r4[i] );
12
}
13
}
14
}
Cached Result
Compilation error (line 17, col 1): Top-level statements must precede namespace and type declarations.
Compilation error (line 4, col 14): Missing partial modifier on declaration of type 'Program'; another partial declaration of this type exists
Compilation error (line 6, col 21): The entry point of the program is global code; ignoring 'Program.Main()' entry point.
Compilation error (line 17, col 23): The name 'rootCause' does not exist in the current context
Compilation error (line 17, col 57): The name 'rootCause' does not exist in the current context
Compilation error (line 17, col 96): The name 'rootCause' does not exist in the current context
Compilation error (line 4, col 14): Missing partial modifier on declaration of type 'Program'; another partial declaration of this type exists
Compilation error (line 6, col 21): The entry point of the program is global code; ignoring 'Program.Main()' entry point.
Compilation error (line 17, col 23): The name 'rootCause' does not exist in the current context
Compilation error (line 17, col 57): The name 'rootCause' does not exist in the current context
Compilation error (line 17, col 96): The name 'rootCause' does not exist in the current context