From e37b66bb0e332e51d199c6a1170f2afc0cb59723 Mon Sep 17 00:00:00 2001 From: Gyo Date: Mon, 27 Oct 2025 20:26:00 +0900 Subject: [PATCH] docs: Fix delegate type name from Del to Callback The example declares a delegate named 'Callback' but later incorrectly refers to it as 'Del'. This commit fixes the inconsistency to use 'Callback' throughout the document." --- docs/csharp/programming-guide/delegates/using-delegates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/programming-guide/delegates/using-delegates.md b/docs/csharp/programming-guide/delegates/using-delegates.md index 5b13037172f43..f438d48d4b58f 100644 --- a/docs/csharp/programming-guide/delegates/using-delegates.md +++ b/docs/csharp/programming-guide/delegates/using-delegates.md @@ -39,7 +39,7 @@ When a delegate is constructed to wrap an instance method, the delegate referenc :::code language="csharp" source="./snippets/UsingDelegates.cs" id="InstanceMethods"::: -Along with the static `DelegateMethod` shown previously, we now have three methods that you can wrap in a `Del` instance. +Along with the static `DelegateMethod` shown previously, we now have three methods that you can wrap in a `Callback` instance. A delegate can call more than one method when invoked, referred to as multicasting. To add an extra method to the delegate's list of methods—the invocation list—simply requires adding two delegates using the addition or addition assignment operators ('+' or '+='). For example: