diff --git a/docs/csharp/language-reference/compiler-messages/cs1061.md b/docs/csharp/language-reference/compiler-messages/cs1061.md index 2525823bd0e2d..0f0d9f3feac1f 100644 --- a/docs/csharp/language-reference/compiler-messages/cs1061.md +++ b/docs/csharp/language-reference/compiler-messages/cs1061.md @@ -15,7 +15,7 @@ This error occurs when you try to call a method or access a class member that do ## Example -The following example generates CS1061 because `Person` does not have a `DisplayName` method. It does have a method that is called `WriteSomething`. Perhaps that is what the author of this source code meant to write. +The following example generates CS1061 because `Person` does not have a `DisplayName` method. It does have a method that is called `WriteName`. Perhaps that is what the author of this source code meant to write. ```csharp public class Person