Answer the question
In order to leave comments, you need to log in
What is the purpose of specifying the return type of a class for a delegate and a function?
I don't understand how it works, why do we specify the return type of the class? Explain to the fool in simple terms, please, how it all works.
PS - This is the 6th chapter of the metanit. Covariance and Contravariance
Answer the question
In order to leave comments, you need to log in
why do we specify the return type of the class
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question