Abstract
You can think of a delegate as an object that holds one or more methods. Normally, of course, you wouldn’t think of “executing” an object, but a delegate is different from a typical object. You can execute a delegate, and when you do so, it executes the method or methods that it “holds.”
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Daniel Solis and Cal Schrotenboer
About this chapter
Cite this chapter
Solis, D., Schrotenboer, C. (2018). Delegates. In: Illustrated C# 7. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3288-0_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3288-0_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3287-3
Online ISBN: 978-1-4842-3288-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)