假設
_tempPath = C:UsersTemp
Assembly.GetEntryAssembly().Location = C:Program FilesMySoftware
下面的插值字串陳述句的輸出會是什么?
ProcessStartInfo.Arguments = $""{_tempPath}" "{Assembly.GetEntryAssembly().Location}""/code>
我做了一些研究,但我仍然不確定這些是傳遞給行程的兩個單獨的引數,還是將它們合并成一個字串。
uj5u.com熱心網友回復:
你的輸出應該是一個單一的字串 - "C:UsersTemp" "C:Program FilesMySoftware"
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/321575.html
標籤:
