1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 20:10:49 +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;
}
// A delegate is a reference to a method
// A delegate is a reference to a method.
// To reference the Increment method,
// first declare a delegate with the same signature
// ie. takes no arguments and returns an int
// first declare a delegate with the same signature,
// i.e. takes no arguments and returns an int
public delegate int IncrementDelegate();
// An event can also be used to trigger delegates