C#变量赋值问题
string num = C;问一下下面这段代码:
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo();
psi.FileName = System.Environment.GetEnvironmentVariable("ComSpec");
psi.RedirectStandardInput = false;
psi.RedirectStandardOutput = true;
psi.UseShellExecute = false;
psi.CreateNoWindow = true;
psi.Arguments = @"/c convert {0}:/FS:NTFS";
System.Diagnostics.Process p = System.Diagnostics.Process.Start(psi);
string results = p.StandardOutput.ReadToEnd();
p.WaitForExit();
Console.WriteLine(results);
中“psi.Arguments = @"/c convert {0}:/FS:NTFS";”中的{0}位置怎样赋值为num