What will be printed out as a result of the following code execution:
 public static void Main() 
{ 
    Int32 v = 5;
    Object o = v; 
    v = 123; 
    Console.WriteLine(v + ", " + (Int32) o);
}
 

@laor31692 thanks! fixed

2017 Dec 15, 1:43:35 PM

There is a typo: nt32 v = 5; Should be Int32 v = 5;

2017 Dec 15, 8:56:47 AM

@cliff thanks a lot! fixed

2017 Dec 6, 12:55:14 PM

public static void Main() { I // wrong line nt32 v = 5; Object o = v; v = 123; Console.WriteLine(v + ", " + (Int32) o); }

2017 Sep 16, 3:44:40 PM

Слідкуй за CodeGalaxy

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

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