Convert string to char array in C# · string sentence = "Mahesh Chand"; · char[] charArr = sentence.ToCharArray(); · foreach (char ch in charArr) · { ...
確定! 回上一頁