Answers

Question and Answer:

  Home  C# (Sharp) Programming Language

⟩ ctype(123.34,integer) - should it throw an error? Why or why not?

Answer1

It would work fine. As the runtime type of 123.34 would be double, and Double can be converted to Integer.

Answer2

the ctype(123.34,integer) will work fine no errors

 130 views

More Questions for you: