人之所以坚持不懈,是因为他知道自己明天能得到什么
我们不是爱拼才会赢,而是一定要赢才会拼

导航

 

string mystring = "this is a test";
            
char[] separator = {' '};
            
string[] myWords;
            myWords 
= mystring.Split(separator);
            
foreach (string word in myWords)
            {
                Console.WriteLine(
"{0}",word);
            }
            Console.ReadKey();
实例2
Code

实例3:参数数组
Code

实例4:委托

 

Code

 

posted on 2009-04-21 22:50  土农民  阅读(254)  评论(0)    收藏  举报