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

Submitted by: Administrator
It would throw an InvalidCast exception as the runtime type of 123.34 (double) doesnt match with Integer.
Submitted by: Administrator

Read Online C# (Sharp) Programming Language Job Interview Questions And Answers