From 7b7704b1beb5c0569f1e5590dbe39becb22d4766 Mon Sep 17 00:00:00 2001 From: Christopher Yeleighton Date: Sat, 20 Nov 2021 17:56:46 +0100 Subject: [PATCH] A controller is an instantiable public class (#24007) --- aspnetcore/mvc/controllers/actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/mvc/controllers/actions.md b/aspnetcore/mvc/controllers/actions.md index 13b03b174e..b469bfe597 100644 --- a/aspnetcore/mvc/controllers/actions.md +++ b/aspnetcore/mvc/controllers/actions.md @@ -22,7 +22,7 @@ By convention, controller classes: * Reside in the project's root-level *Controllers* folder. * Inherit from `Microsoft.AspNetCore.Mvc.Controller`. -A controller is an instantiable class in which at least one of the following conditions is true: +A controller is an instantiable class, usually [public](/dotnet/csharp/language-reference/keywords/public), in which at least one of the following conditions is true: * The class name is suffixed with `Controller`. * The class inherits from a class whose name is suffixed with `Controller`.