C#中string.format的用法

string.Format 方法的幾種定義: 1、String.Format (String, Object) 將指定的 String 中的格式項替換爲指定的 Object 實例的值的文本等效項。 2、String.Format (String, Object[]) 將指定 String 中的格式項替換爲指定數組中相應 Object 實例的值的文本等效項。 3、String.Format (IFo
相關文章
相關標籤/搜索