79334276

Date: 2025-01-06 20:43:47
Score: 3
Natty:
Report link

Inheriting from the desired type worked and expressed what I want most succinctly:

public class ListOfStringUtility : List<string> {
  public List<string> Items { get; set; }
  //...and appropriate supporting methods for just that one public property/field...
}

Thanks again, @Ctznkane525 and @gunr2171, for your prompt answers!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • User mentioned (1): @Ctznkane525
  • User mentioned (0): @gunr2171
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: James Craig Burley