Skip to content

Commit 9b16072

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents ecdc8c6 + 1c38550 commit 9b16072

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

21_Delegaten.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public class Program
378378
### Schnittstellen vs. Delegaten
379379

380380
```csharp DelegatesVsInterfaces
381-
void delegate XYZ(int p);
381+
delegate void XYZ(int p);
382382

383383
interface IXyz {
384384
void doit(int p);

22_Events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public event VarAChangedHandler AChanged
270270
```
271271

272272
2. Der Compiler sucht innerhalb der Publisher Klasse nach Referenzen auf AChanged und lenkt diese auf das private Delegate um.
273-
3. Der Compiler mappt alle += Operationen außerhalb auf die Zugriffsmethoden add and remove.
273+
3. Der Compiler mappt alle += bzw. -= Operationen außerhalb auf die Zugriffsmethoden add bzw. remove.
274274

275275
********************************************************************************
276276

23_Threads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Definitionen:
167167
public delegate void ThreadStart();
168168
public delegate void ParameterizedThreadStart(object? obj);
169169
public enum ThreadPriority (Lowest = 0, BelowNormal = 1, Normal = 2, AboveNormal = 3, Highest = 4);
170-
public enum ThreadState (Running = 0, Unstarted = 8, Stopped = 16, Suspended = 64, Stopped = 16, Aborted = 256, ...);
170+
public enum ThreadState (Running = 0, Unstarted = 8, Stopped = 16, Suspended = 64, Aborted = 256, ...);
171171

172172
public sealed class Thread{
173173
public Thread (ThreadStart start);

0 commit comments

Comments
 (0)