This difference in syntax is definitely fairly delicate and can lead to a "gotcha" and that is described by Invoice Wagner in a very article entitled Can not set EPPlus licencing to non professional with no code breaking as 'LicenceContext is a type but being used as a variable' error https://propertyingurugram.in/alphacorp-to-invest-rs-350-crore-in-luxury-residential-project-in-gurgaon/