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()
{
}
}


Manav PandyaRank #166 · 14.3K reputationPosted Jan 12, 2018, 7:46 PM EST
Dinesh Kudale130 reputationPosted Jan 12, 2018, 9:07 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Jan 12, 2018, 9:22 PM EST