作者EricTsai (I am the one...)
看板C_Sharp
標題Re: [問題] 請問如何將字串放入陣列內
時間Thu Nov 18 02:43:51 2004
※ 引述《muffinpat (在醬...我滾兩圈喔!)》之銘言:
: ※ 引述《EricTsai (I am the one...)》之銘言:
: : String有個CopyTo方法
: : string s="abc";
: : char[] c=new char[3];
: : s.CopyTo(0,c,0,s.Length);
: ^ ^
: 請問這是什麼意思呢?
複製來源和目的的Starting Index
http://msdn.microsoft.com/library/CHT/cpref/html/
frlrfsystemstringclasscopytotopic.asp
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.91.10
1F:推 muffinpat:謝謝^^ 140.115.210.197 11/18