标签:line string ons OLE sys har rgs ati write
using System; namespace leecode1 { class Program { static void Main(string[] args) { string outString= string.Empty; string s1 = "abc"; string s2 = "pqruc"; for (var i = 0; i < Math.Max(s1.Length, s2.Length); i++) { outString += (i < s1.Length ? s1[i].ToString() : "") + (i < s2.Length ? s2[i].ToString() : ""); } Console.WriteLine(outString); Console.ReadKey(); } } }
标签:line string ons OLE sys har rgs ati write
原文地址:https://www.cnblogs.com/stonechina/p/14435548.html