Skip to content

Commit b8a1f04

Browse files
authored
changed files by pdets auto publish service, publishid[8b789352-1392-41fd-bf44-232a9c3470a0] and do [publish].
1 parent a8d6f19 commit b8a1f04

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

learn-pr/wwl-language/get-started-delegates/02-examine-late-binding-delegates.yml renamed to learn-pr/wwl-language/get-started-delegates/02-examine-late-bind-delegates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### YamlMime:ModuleUnit
2-
uid: learn.wwl.get-started-delegates.examine-late-binding-delegates
2+
uid: learn.wwl.get-started-delegates.examine-late-bind-delegates
33
title: Examine late binding with delegates
44
metadata:
55
title: Examine late binding with delegates
@@ -10,4 +10,4 @@ metadata:
1010
ms.topic: unit
1111
durationInMinutes: 13
1212
content: |
13-
[!include[](includes/02-examine-late-binding-delegates.md)]
13+
[!include[](includes/02-examine-late-bind-delegates.md)]

learn-pr/wwl-language/get-started-delegates/includes/03-instantiate-invoke-delegate-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Here are some common scenarios where delegates are used:
235235
> [!NOTE]
236236
> The event handling scenario is covered in a separate module along with an introduction to using events in C# apps.
237237
238-
## Key Points
238+
## Key points
239239

240240
- Delegate instances can be created using named methods, method group conversion, anonymous methods, or lambda expressions.
241241
- Delegates can be invoked like regular methods and can be combined to create multicast delegates.

learn-pr/wwl-language/get-started-delegates/includes/04-examine-strongly-typed-delegates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Func<Customer, Customer, int> compare = (c1, c2) => string.Compare(c1.CustomerId
287287

288288
```
289289

290-
## Key Points
290+
## Key points
291291

292292
- Strongly typed delegates, such as `Action` and `Func`, simplify the process of working with delegates by allowing you to use generic types instead of defining custom delegate types for each method signature.
293293
- `Action` delegates are used for methods that don't return a value, while `Func` delegates are used for methods that return a value.

learn-pr/wwl-language/get-started-delegates/includes/08-summary.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ In this module, you learned about the role and implementation of delegates in C#
22

33
The main takeaways from this module include your understanding of how delegates enhance code flexibility and reusability by encapsulating methods and passing them as parameters. You learned about the use of strongly typed delegates like `Action` and `Func` that simplify code, improve readability, and enhance maintainability. The module also introduced the concept of variance in C#, which enhances flexibility in method signatures with delegates, allowing methods to be assigned to delegates even if their parameter types or return types aren't identical. You also learned about the practical application of these concepts through an exercise involving the implementation of delegates in a C# app.
44

5-
Other reading:
5+
## Other reading
66

7-
1. [Delegates (C# Programming Guide)](/dotnet/csharp/programming-guide/delegates/)
8-
1. [Covariance and Contravariance in C#](/dotnet/standard/generics/covariance-and-contravariance)
9-
1. [Lambda expressions (C# Programming Guide)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions)
7+
- [Delegates (C# Programming Guide)](/dotnet/csharp/programming-guide/delegates/)
8+
- [Covariance and Contravariance in C#](/dotnet/standard/generics/covariance-and-contravariance)
9+
- [Lambda expressions (C# Programming Guide)](/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions)

learn-pr/wwl-language/get-started-delegates/index.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### YamlMime:Module
22
uid: learn.wwl.get-started-delegates
33
metadata:
4-
title: Get started with delegates
4+
title: Get Started with Delegates
55
description: "Learn how to declare, instantiate, and invoke delegates for scenarios that require dynamic method invocation, such as callback methods and custom sorting or filtering. Learn how to use delegates to create flexible and extensible code that can adapt to changing requirements."
66
ms.date: 04/22/2025
77
author: wwlpublish
@@ -11,8 +11,8 @@ metadata:
1111
ms.subservice: fundamentals
1212
ms.devlang: csharp
1313
ai-usage: human-only
14-
title: Get started with delegates
15-
summary: Learn how to declare, instantiate, and invoke delegates for scenarios that require dynamic method invocation, such as callback methods and custom sorting or filtering.&nbsp;
14+
title: Get started with Delegates
15+
summary: Learn how to declare, instantiate, and invoke delegates for scenarios that require dynamic method invocation, such as callback methods and custom sorting or filtering.
1616
abstract: |
1717
- Explain the concept of delegates in C# and their benefits in terms of flexibility, extensibility, and decoupling.
1818
@@ -49,7 +49,7 @@ subjects:
4949
- custom-app-development
5050
units:
5151
- learn.wwl.get-started-delegates.introduction
52-
- learn.wwl.get-started-delegates.examine-late-binding-delegates
52+
- learn.wwl.get-started-delegates.examine-late-bind-delegates
5353
- learn.wwl.get-started-delegates.instantiate-invoke-delegate-types
5454
- learn.wwl.get-started-delegates.examine-strongly-typed-delegates
5555
- learn.wwl.get-started-delegates.examine-variance-delegates

0 commit comments

Comments
 (0)