作者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