Skip to main content

Delegates

  • Chapter
  • First Online:
Getting Started with Advanced C#
  • 1251 Accesses

Abstract

The concept of delegates is a very powerful feature in many programming languages, including C#. I believe that the discussion of advanced programming in C# cannot start without delegates. In this chapter, you learn about delegates and why they are essential.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    You know that when we compile our .net program using any .Net obedient language like C#, initially our source code will be converted into an intermediate code, which is known as MSIL (Microsoft Intermediate Language). This IL code is interpreted by CLR (Common Language Runtime). Upon program execution, this IL code will be converted into the binary executable binary code or native code.

    And CLR is a framework layer that exists above OS and handles all the execution of the .net applications. The programs must go through the CLR so that there will be no direct communication with the OS.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Vaskaran Sarcar

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Sarcar, V. (2020). Delegates. In: Getting Started with Advanced C#. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5934-4_1

Download citation

Publish with us

Policies and ethics