I'm trying to figure out how to pass parameters into a C# .Net Core project. For instance I need to pass a string representing the environment name in and have the code automatically select a file share path based on the value of this parameter.
I know in a Java/Maven project you can pass arguments in through a Maven config and load them through the pom.xml, but I'm not quite sure how to do this in C#. I'm planning on running this on an Azure-Devops build agent and need a way to pass these values in at runtime instead of hardcoding them.
Thanks