79385899

Date: 2025-01-24 23:37:00
Score: 1
Natty:
Report link

You can call Max directly on Descendants.

var result = xml1.Descendants("WbDrillPermitNo").Max(n => int.Parse(n.Value));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NeartCarp