<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="5.0.0-preview.7.20364.11" />

ConfigurationPath

public static class ConfigurationPath
Utility methods and constants for manipulating Configuration paths
public static readonly string KeyDelimiter

The delimiter ":" used to separate individual keys in a path.

public static string Combine(string[] pathSegments)

Combines path segments into one path.

public static string Combine(IEnumerable<string> pathSegments)

Combines path segments into one path.

public static string GetParentPath(string path)

Extracts the path corresponding to the parent node for a given path.

public static string GetSectionKey(string path)

Extracts the last path segment from the path.