Error: Invalid token '=' in class, struct, or interface member declaration
Why above error is coming after the compilation of this code. Thanks in advance.-----------------------------------------------------------------------------------------------------
using System;
class ReadonlyDemo
{
readonly bool flag;
flag=true;
static void Main()
{
}
}