EconPapers    
Economics at your fingertips  
 

Abstract Concepts in C# – using Delegates

Adrian Lupasc ()
Additional contact information
Adrian Lupasc: Dunarea de Jos University of Galati, Romania

Economics and Applied Informatics, 2015, issue 2, 134-139

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 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.

Keywords: Delegate; Object delegate; Multicasting delegate; Type-safe function pointer (search for similar items in EconPapers)
Date: 2015
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
http://www.eia.feaa.ugal.ro/images/eia/2015_2/Lupasc1.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:ddj:fseeai:y:2015:i:2:p:134-139

Access Statistics for this article

More articles in Economics and Applied Informatics from "Dunarea de Jos" University of Galati, Faculty of Economics and Business Administration Contact information at EDIRC.
Bibliographic data for series maintained by Gianina Mihai ().

 
Page updated 2025-03-19
Handle: RePEc:ddj:fseeai:y:2015:i:2:p:134-139