Came across this,
public IConfiguration Configuration { get; }
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
Which I've never really seen before. After investigating, I found a question on omitted setters vs private setter and it has me thinking it's the property equivalent of readonly
.
Is this correct? What are the differences?