79600381

Date: 2025-04-30 13:14:27
Score: 1.5
Natty:
Report link
string? path = Directory.GetParent(Directory.GetCurrentDirectory())?.Parent?.FullName;

or

string? path = Directory.GetParent(Environment.CurrentDirectory)?.Parent?.FullName;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: Miles Buckton