I have an Application Console that the% method of Program.cs (where it starts the application) receives an input .
Follow the code below:
static void Main(string[] args)
{
var input = Console.ReadLine();
ControleEstado.IniciaControle(input);
Console.WriteLine();
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
I need to create a batch file that runs this application, but send the expected parameter to the input variable.