Microsoft .NET 面试题与答案
Test your skills through the online practice test: Microsoft .NET Quiz Online Practice Test
问题 6. What is explicit vs. implicit conversion?
When converting from a smaller numeric type into a larger one the cast is implicit. An
example of when an explicit cast is needed is when a value may be truncated.
这有帮助吗?
添加评论
查看评论
问题 7. Can assignment operators be overloaded directly?
No
这有帮助吗?
添加评论
查看评论
问题 8. What do operators is and as do?
as acts is like a cast but returns a null on conversion failure. Is comares an object to a
type and returns a boolean.
这有帮助吗?
添加评论
查看评论
问题 9. What is the difference between the new operator and modifier?
The new operator creates an instance of a class whereas the new modifier is used to
declare a method with the same name as a method in one of the parent classes.
这有帮助吗?
添加评论
查看评论
问题 10. Explain sizeof and typeof.
typeof obtains the System.Type object for a type and sizeof obtains the size of a type.
这有帮助吗?
添加评论
查看评论
用户评价最有帮助的内容:
- Name 10 C# keywords.
- What is public accessibility?
- .NET Stands for?
- What is private accessibility?
- What is protected accessibility?