delegate என்பது ஒரு method-ஐ type-safe ஆக reference செய்யும் ஒன்று (function pointer போல) — இது methods-ஐ data ஆக treat செய்ய உதவுகிறது: store செய்யுங்கள், arguments ஆக pass செய்யுங்கள், மற்றும் invoke செய்யுங்கள். Events என்பது delegates-ல் built on செய்யப்பட்ட ஒரு pattern ஆகும் publish-subscribe (observer) model-க்கு. அவை C#-ல் callbacks, LINQ, மற்றும் event-driven programming-ஐ support செய்கிறது.
Delegates — methods ஆக values
;
Operation = (a, b) => a + b;
Operation multiply = (a, b) => a * b;
result = (, );
=> op(x, y);
Apply(multiply, , );
