byte num = 100; dynamic val = num; //What will be displayed as output for- Console.Writeline(val.GetType()); //and val+=100; Console.Writeline(val.GetType());
byte num = 100;
dynamic val = num;
//What will be displayed as output for-
Console.Writeline(val.GetType());
//and
val+=100;
System.Byte System.Int32
System.Byte2-System.Int32
1- System.Byte2-System.Int32
System.ByteSystem.Int32
Can you please explain why int32?
System.ByteandSystem.Int32
System.ByteSystem.int32
System.Int32