• 大小: 0.03M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: C#  下载  汉字  拼音  c  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.International.Converters.PinYinConverter;
using PinYinParse.Plan;

namespace PinYinParse
{
    class Program
    {
        static void Main(string[] args)
        {
            #region ChineseChar 小试
            //string str = Console.ReadLine();
            //var ch = str[0];
            //Console.WriteLine($“汉字:{ch}“);

            //ChineseChar cc = new ChineseChar(ch);
            //var pinyins = cc.Pinyins.ToList();
            //pinyins.ForEach(p =>
            //{
            //    Console.WriteLine($“拼音:{p}“);
            //});
            #endregion

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine(“请输入中文:“);
  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-12-19 03:35  PinYinParse-master\
     文件        2518  2016-12-19 03:35  PinYinParse-master\.gitattributes
     文件        3833  2016-12-19 03:35  PinYinParse-master\.gitignore
     目录           0  2016-12-19 03:35  PinYinParse-master\PinYinParse\
     文件         978  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse.sln
     目录           0  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\
     文件         182  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\App.config
     文件        2865  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\PinYinParse.csproj
     目录           0  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\Plan\
     文件       55800  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\Plan\PinYinConverter.cs
     文件        3228  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\Plan\PinYinConverterHelp.cs
     文件        1201  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\Program.cs
     目录           0  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\Properties\
     文件        1294  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\Properties\AssemblyInfo.cs
     文件         174  2016-12-19 03:35  PinYinParse-master\PinYinParse\PinYinParse\packages.config

评论

共有 条评论