The nameof construct is a really great feature of C# 6.0, especially in ASP.NET Core: It avoids the usage of hard coded strings, like for action names. Instead we refer to a class/method, and get compining errors, if their naming changes. construct is a really great feature