安装环境
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb
sudo add-apt-repository universe
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.2
运行
dotnet ***.dll
参考网址
https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial#ubuntu