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

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

0 Answers  


How Can Registry Editor in .NET?

1 Answers  


What is value type and refernce type in .net?

0 Answers  


Explain what relationship is between a process, application domain, and application?

0 Answers  


What is the difference between function and stored procedure?

0 Answers  






What is the use of gacutil.exe?

0 Answers   Amazon,


What is managed code in .NET?

0 Answers  


What tools can I use to develop .net applications?

0 Answers  


What are the advantages of .net?

0 Answers  


How to load the contents of an xml file into an xmldocument object?

0 Answers  


Explain how to rename a table using sql queries?

0 Answers  


What are nullable types in .NET

0 Answers   TryTechnicals Pvt Ltd,


Categories