Answers

Question and Answer:

  Home  C# (Sharp) Programming Language

⟩ An example of a ctype and directcast.

In the preceding example, the run-time type of Q is Double. CType succeeds because Double can be converted to Integer, but DirectCast fails because the run-time type of Q is not already Integer

 195 views

More Questions for you: