15
Reply

What will be the output of the following C# code

Sandeep Soni

Sandeep Soni

6y
4.3k
0
Reply
  1. byte num = 100;
  2. dynamic val = num;
  3. //What will be displayed as output for-
  4. Console.Writeline(val.GetType());
  5. //and
  6. val+=100;
  7. Console.Writeline(val.GetType());