title: Is there a nameof() operator for MVC controllers in C#?
body: <p>The newly introduced <a href="https://msdn.microsoft.com/en-us/library/dn986596.aspx"><code>nameof</code></a> operator is useful in making my code my "typed".</p>
  
  <p>Instead of </p>
  
  <pre><code>return RedirectToAction("Edit");
  </code></pre>
  
  <p>we can write</p>
  
  <pre><code>return RedirectToAction(nameof(Edit));
  </code></pre>
  
  <p>But for to get a controller's name is not that straightforward, because we have a <code>Controller</code> suffix. Just want to know if I want to have a</p>
  
  <pre><code>return RedirectToAction(nameof(Index), controllernameof(Home));
  </code></pre>
  
  <p>to take the place of </p>
  
  <pre><code>return RedirectToAction("Index", "Home");
  </code></pre>
  
  <p>how can we implement the <code>controllernameof</code> operator?</p>