byte num = 100;dynamic val = num;//What will be displayed as output for-Console.Writeline(val.GetType());//andval+=100;Console.Writeline(val.GetType());
Interviews15 answers
What will be the output of the following C# code
15 Answers
System.Byte
System.Int32
Munib ButtPosted Apr 28, 2020, 9:36 AM EDT
System.Byte
System.Int32
Rajiv RanjanPosted Apr 24, 2020, 7:08 PM EDT
Can you please explain why int32?
Prakshal ShahPosted Mar 2, 2020, 12:23 AM EST
System.Byte
and
System.Int32
sameer shaikhPosted Feb 2, 2020, 5:14 AM EST
System.Byte
System.Int32
Vikash TiwariPosted Oct 19, 2019, 3:59 AM EDT
System.Byte
System.Int32
Vikash TiwariPosted Oct 19, 2019, 3:59 AM EDT
System.Byte
System.Int32
NIlesh SawantPosted Sep 30, 2019, 6:02 AM EDT
System.Byte
System.Int32
srinivas raoPosted Sep 3, 2019, 9:44 PM EDT
System.Byte
System.int32
Bidyasagar MishraPosted Aug 3, 2019, 8:54 PM EDT
System.Byte System.Int32
Saurabh VasaniPosted Jul 25, 2019, 9:11 PM EDT
System.Int32
Nemilidinne AshokreddyPosted Mar 7, 2019, 2:42 AM EST
System.Byte
System.Int32
Bhanuprasad MitturiPosted Nov 20, 2018, 12:43 AM EST
System.Byte2-System.Int32
jubula samalPosted Nov 15, 2018, 7:44 PM EST
1- System.Byte
2-System.Int32
Rashmiranjan DalabeheraPosted Nov 15, 2018, 12:29 AM EST
System.Byte
System.Int32
Sandeep SoniPosted Oct 29, 2018, 5:56 PM EDT







