Class Sample
{
public const int i = 3; //
public static void Main(string[] args)
{
public const string name = "sameer";
public const int id = 10;
}
}
if remove public in Main method then every thing is well. please let me know how is it?
Rajeesh MenothPosted Jun 9, 2016, 1:15 AM
sameer shaikhPosted Jun 9, 2016, 1:14 AM
Rajeesh MenothPosted Jun 8, 2016, 8:44 AM
Vinay SinghPosted Jun 8, 2016, 6:42 AM