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



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

Answer / narayan sahu(netx)

Yes, because the specified type and the runtime type is not
same

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Can we Classic ASP,.Net 1.0, .Net 1.x and .Net 2.0 installed on the same system?

2 Answers   Value Labs,


Tell us the differences between an interface and an abstract class in .net?

0 Answers  


What is 3 tier architecture?

0 Answers  


Garbage collector thread is what kind of a thread?

1 Answers  


Name the classes that are introduced in the system.numerics namespace.

0 Answers  






Explain about .NET services?

0 Answers  


Can a try block have nested try blocks?

0 Answers  


How can you clean up objects holding resources from within the code?

2 Answers   Wipro,


Explain the .NET architecture.

9 Answers   HCL, Idhasoft, Scandent, TCS, TechnoLinks,


Difference between assembly manifest & metadata assembly manifest

4 Answers   Ksb,


How to get the number after decimal point in .net?

0 Answers  


What is a windows process in .net?

0 Answers  


Categories