From f9d970c590398c7c5944287c2f001744e7ecc825 Mon Sep 17 00:00:00 2001 From: Christian <70714090+chrisxfire@users.noreply.github.com> Date: Tue, 14 Feb 2023 15:36:54 -0700 Subject: [PATCH] Update Async_EndBlock.cs Fix typo in comment. --- .../VS_Snippets_CLR/AsyncDesignPattern/CS/Async_EndBlock.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/snippets/csharp/VS_Snippets_CLR/AsyncDesignPattern/CS/Async_EndBlock.cs b/samples/snippets/csharp/VS_Snippets_CLR/AsyncDesignPattern/CS/Async_EndBlock.cs index 47e992c42e8af..cac01a7f5bfac 100644 --- a/samples/snippets/csharp/VS_Snippets_CLR/AsyncDesignPattern/CS/Async_EndBlock.cs +++ b/samples/snippets/csharp/VS_Snippets_CLR/AsyncDesignPattern/CS/Async_EndBlock.cs @@ -30,7 +30,7 @@ public static void Main(string[] args) // Do any additional work that can be done here. try { - // EndGetHostByName blocks until the process completes. + // EndGetHostEntry blocks until the process completes. IPHostEntry host = Dns.EndGetHostEntry(result); string[] aliases = host.Aliases; IPAddress[] addresses = host.AddressList; @@ -58,4 +58,4 @@ public static void Main(string[] args) } } } -// \ No newline at end of file +//