新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
string直接分成char數(shù)組
string直接分成char數(shù)組, 然后逐個輸出來~
創(chuàng)新互聯(lián)公司一直秉承“誠信做人,踏實做事”的原則,不欺瞞客戶,是我們最起碼的底線! 以服務(wù)為基礎(chǔ),以質(zhì)量求生存,以技術(shù)求發(fā)展,成交一個客戶多一個朋友!為您提供網(wǎng)站制作、成都網(wǎng)站制作、成都網(wǎng)頁設(shè)計、成都微信小程序、成都網(wǎng)站開發(fā)、成都網(wǎng)站制作、成都軟件開發(fā)、重慶APP軟件開發(fā)是成都本地專業(yè)的網(wǎng)站建設(shè)和網(wǎng)站設(shè)計公司,等你一起來見證!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- string s = Console.ReadLine();
- Console.WriteLine("字符 ---------- 十進(jìn)制");
- for (int i = 0; i < s.Length; i++)
- {
- char c = s[i];
- Console.WriteLine(" {0} ---------- {1} ",c,(int)c);
- }
- }
- }
- }
當(dāng)前題目:string直接分成char數(shù)組
文章地址:http://fisionsoft.com.cn/article/jjoeid.html