ixjngtv

  點部落 :: Home :: Syndication :: 我的收藏 ::  :: Login
  文章數 - 22, 回應數 - 4, 引用數 - 0

每月文章

參考

麻吉

 

StringBuilder a = new StringBuilder(" ");
a.AppendFormat( " [{0,-5}]", 111);  //靠左
a.AppendLine();  //換行
a.AppendFormat( " [{0,5}]", 222);   //靠右
MessageBox.Show(this, a.ToString());

會輸出一messagebox  並秀出:

[111  ]

[  222]


posted on 2008/5/23 09:26 | 我要推薦 | 閱讀數 : 163 | 訂閱

關連文章


Feedback

目前沒有回應.

回應

標題:
姓名:
電子郵件:(將不會被顯示)
個人網頁:
內容: 

登入後使用進階評論
Please add 4 and 6 and type the answer here: