using System; public class Test{ public static void Main() { readonly int a = 42; a = 0; }}
Standard input is empty
prog.cs(7,2): error CS1525: Unexpected symbol `readonly' Compilation failed: 1 error(s), 0 warnings
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!