Microsoft .NET Interview Questions and Answers
Test your skills through the online practice test: Microsoft .NET Quiz Online Practice Test
Ques 56. In terms of references, how do == and != (not overridden) work?
They check to see if the references both point to the same object.
Is it helpful?
Add Comment
View Comments
Ques 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.
Is it helpful?
Add Comment
View Comments
Ques 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
Is it helpful?
Add Comment
View Comments
Ques 59. What is the default value for a bool?
False
Is it helpful?
Add Comment
View Comments
Ques 60. Write code for an enumeration.
public enum animals {Dog=1,Cat,Bear};
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- .NET Stands for?
- Name 10 C# keywords.
- What is public accessibility?
- What is protected accessibility?
- What is protected internal accessibility?