|
#region 数组
// //string[] strs = { "你","好","吗" };
// //Console.WriteLine(Combine(strs));
// //Console.ReadKey();
// //利用Main方法的参数
//// Console.WriteLine(Combine(args));
// string[] strs = { "你", "好", "吗" };
// Console.WriteLine(Combine2(strs));
// Console.WriteLine(Combine2("你", "好", "吗"));
// Console.WriteLine(Combine2("很", "好"));
// Consol.eWriteLine(Combine2());
// //Console.WriteLine(Combine2(1,2,3));//不对.
// //parames决定参数数量不固定,object决定参数类型不固定
// Console.WriteLine("今天是{0},{1},{2}", DateTime.Now);
#endregion |
|