Microsoft .NET 面试题与答案
Test your skills through the online practice test: Microsoft .NET Quiz Online Practice Test
问题 56. In terms of references, how do == and != (not overridden) work?
They check to see if the references both point to the same object.
这有帮助吗?
添加评论
查看评论
问题 57. What is a struct?
Unlike in C++ a struct is not a class – it is a value type with certain restrictions. It is
usually best to use a struct to represent simple entities with a few variables. Like a Point
for example which contains variables x and y.
这有帮助吗?
添加评论
查看评论
问题 58. Describe 5 numeric value types ranges.
sbyte -128 to 127, byte 0 – 255, short -32,768 to 32,767, int -2,147,483,648 to
2,147,483,647, ulong 0 to 18,446,744,073,709,551,615
这有帮助吗?
添加评论
查看评论
问题 59. What is the default value for a bool?
False
这有帮助吗?
添加评论
查看评论
问题 60. Write code for an enumeration.
public enum animals {Dog=1,Cat,Bear};
这有帮助吗?
添加评论
查看评论
用户评价最有帮助的内容:
- Name 10 C# keywords.
- What is public accessibility?
- .NET Stands for?
- What is private accessibility?
- What is protected accessibility?