Microsoft .NET preguntas y respuestas de entrevista
Pregunta 56. In terms of references, how do == and != (not overridden) work?
They check to see if the references both point to the same object.
Pregunta 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.
Pregunta 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
Pregunta 59. What is the default value for a bool?
False
Pregunta 60. Write code for an enumeration.
public enum animals {Dog=1,Cat,Bear};
Lo mas util segun los usuarios:
- Name 10 C# keywords.
- What is public accessibility?
- .NET Stands for?
- What is private accessibility?
- What is protected accessibility?