发新话题
打印

使用C# 输出字母表及相应ASCⅡ码

使用C#  输出字母表及相应ASCⅡ码

TOP

using System;
using System.Collections.Generic;
using System.Text;

namespace printGraphics
{
    class Program
    {
        static void Main(string[] args)
        {
            for (int i = 0; i < 26; i++)
            {
                Console.Write(65 + i);
                Console.Write(" " + (char)(65 + i)+"    ");
            }
            Console.ReadLine();
        }
    }
}

TOP

发新话题