79831524

Date: 2025-11-27 09:04:06
Score: 0.5
Natty:
Report link

Another way if you only care about the name and not the numeration part

 public class SortOrder
 {
      public const string Newest = "newest";
      public const string Rating = "rating";
      public const string Relevance = "relevance";
 }
SortOrder.Newest -> newest
nameof(SortOrder.Newest) -> Newest 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Justas