how to run sqlcmd from c#

using System.Diagnostics; using System.Configuration; static void Main(string[] args) { try { Process RunSQLScript = new…