Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
With strict conversions enabled, which of the following would allow an implicit conversion?
on 9/24/2008 | Category:
C# Interview questions
| Views: 18363
Select from following answers:
Int16 to Int32
Int32 to Int16
Int16 to Double
Double to Int16
You can convert from Int16 to Double because that is considered a widening conversion. Because Double can store any value of Int16, implicit conversion is allowed.
Show Correct Answer
MCTS Book | |
< Previous :
Which are NOT acceptable ways to open a file for w ...
Next > :
If there is no valid conversion between two types, ...
Comments or Responses
on: 5/22/2015 |
I understand int16 fitting inside double. Why not answer one as well? , int16 fitting inside int32?
Login to post response
More Interview Questions by Raja
If there is no valid conversion between two types, what should you do ...
Structures inherit ToString from System.Object. Why would someone over ...
Why should boxing be avoided?
You are creating a generic class, and you need to dispose of the gener ...
Which of the following are not examples of built-in generic types?
Which of the following statements are false?
When should you use the StringBuilder class instead of the String clas ...
Why should you close and dispose of resources in a Finally block inste ...
Latest Interview Questions
Can you give an example of what might be best suited to place in the A ...
What does the "EnableViewState" property do? Why would I wan ...
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe i ...
Difference between DropDownList.Items.Add and DropDownList.Items.Inser ...
Difference between classes and structures?
What is the purpose of connection pooling in ADO.NET?
What’s the difference between // comments, /* */ comments and /// comm ...
what is the diff between a HAVING CLAUSE and a WHERE CLAUSE?