1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 14:56:54 +02:00

Merge pull request #3794 from AjitZero/patch-1

[c#/en] Updated grammar
This commit is contained in:
Max Schumacher
2020-01-28 19:02:50 +01:00
committed by GitHub

View File

@@ -653,10 +653,10 @@ on a new line! ""Wow!"", the masses cried";
return ++count; return ++count;
} }
// A delegate is a reference to a method // A delegate is a reference to a method.
// To reference the Increment method, // To reference the Increment method,
// first declare a delegate with the same signature // first declare a delegate with the same signature,
// ie. takes no arguments and returns an int // i.e. takes no arguments and returns an int
public delegate int IncrementDelegate(); public delegate int IncrementDelegate();
// An event can also be used to trigger delegates // An event can also be used to trigger delegates