martes, 28 de marzo de 2017

Types of Questions #1


C# Question 1
What are all classes in C# derived from?
 The simple answer to this question is object.

C# Question 2
What is a delegate?
The simple answer is that a delegate in C# is a special type that defines a method signature. And an instance of a delegate type can be assigned to any method with a compatible signature, and the assigned method can be called through the delegate instance.

C# Question 3
Describe how generics work in C#.
Generics allow you to write a class or method that does not specify the exact type for one or more its parameters, until the class or method is used. Generics are implemented in C# in such a way that the genericness is preserved all the way to the bytecode that is generated.
 

https://pluralsight.com/library/courses/developer-job-interviews/transcript

No hay comentarios:

Publicar un comentario