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

Please explain what do the terms “boxing” and “unboxing” mean?

0 Answers  


What are the important components of .net?

0 Answers  


What is MSIL code ?

3 Answers   TCS,


What is Method Overriding? How to override a function in C#?

1 Answers  


What?s the Unix name for a Windows service equivalent?

1 Answers  






What is .net assembly?

0 Answers  


What do you mean by web service?

0 Answers   Accenture,


What is Entity Relationship Model in .NET?

0 Answers   Viscus Infotech,


What do you mean by Driver Script?

0 Answers   TCS,


Describe the compilation process for .net code?

0 Answers  


What is the use of activex control in .net?

0 Answers  


Explain what are possible implementations of distributed applications in .net?

0 Answers  


Categories