using System; using CycloneDX.Models; var dependenciesProperty = typeof(Dependency).GetProperty("Dependencies")!; Console.WriteLine(dependenciesProperty.PropertyType); Console.WriteLine(dependenciesProperty.PropertyType.GenericTypeArguments[0]);