What will be printed out as a result of the following code execution?
 
class Test 
{ 
      static void Main(string[] args) 
      { 
          int i = 1; 
          Console.WriteLine("i = {0}", i++); 
       } 
 }
 

@SuccessVM Fixed, thanks!

2017 May 18, 12:09:02 AM

static not tatic, that's why i give the wrong answer!!!

2017 May 6, 5:46:07 PM

but not static Fix it plz

2017 Mar 4, 11:31:52 PM

tatic void Main(string[] args)

2017 Mar 4, 11:31:30 PM

Sorry, @dntsaygoodbye28! There was an error in question. Thanks a lot :)

2016 Mar 12, 2:27:23 PM

Really? Can anyone explain?

2016 Mar 9, 7:11:43 PM

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести