Abstract:Many developers, especially beginners, often find it difficult to realize and understand the benefits and advantages of using abstract concepts specific to the C# language, like delegates. C# doesn't ...Many developers, especially beginners, often find it difficult to realize and understand the benefits and advantages of using abstract concepts specific to the C# language, like delegates. C# doesn't help matters by allowing us to declare field-like events which are automatically backed by a delegate variable at the same name. Another source of confusion is due to the overloading of the term “delegate”. Sometimes it is used to mean a delegate type, in other cases it can be used to mean an instance of a delegate type. We shall use “delegate type” and “delegate instance” to distinguish between them, and “delegate” when we are talking about the whole topic in a general sense. In this context, the present paper aims to clarify all these aspects related to the use of delegate in the specific context, providing concrete examples in this respect. Moreover, this paper presents the main benefits of using delegates in C# language.Read More
Publication Year: 2015
Publication Date: 2015-01-01
Language: en
Type: article
Access and Citation
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot