可能重複: Parsing formatted string. 如何使用 String.Format 格式並將其輸出轉換為輸入? 例如: string formatString = "My name is {0}. I have {1} cow(s).
確定! 回上一頁