I have a script in Power Shell which runs a process of Microsoft and would like to convert it to C# but did not find how to do it.
The line is as follows:
start-process -FilePath "telnet" -ArgumentList "-t ANSI 127.0.0.1 %Port" -Wait
This should run Windows Telnet.
How can I convert it to C#?
A quick & dirty solution would be this: