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

Answer Posted / aravindreddy

It would work fine. As the runtime type of 123.34 would be
double,
and Double can be converted to Integer.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is reflection in microsoft .net context?

579


How can you instantiate a tuple?

568


what is the keyword used for self reference?

1947


What is view state in .net?

631


What is managed code and managed data in .net?

611






What's singlecall activation mode used for in .net?

559


How can I find out what the garbage collector is doing?

550


In code behind class, name the type of code found. Is it the server side code or client side code?

804


Which Namespace is used to to achieve MultiThreading in .NET?

597


Will it go to finally block if there is no exception happened?

544


What is the difference between response.write & response.output.write?

601


What are the improvements made in cas in .net 4.0?

527


Can any object be stored in a viewstate in .net?

618


What is Polymorphism? How does VB.NET/C# achieve polymorphism?

2491


what user controls are and what server controls are and the differences between the two.

1620