C#控制台输出图形文字

 

 如图,今天在一个群里面有位小伙伴问这个字是怎么输出的,说实话我一直以为是自行拼装的,但是后面有位小伙伴的回复引起了我的注意:

Console.WriteAscii("free sql", Color.Yellow);

经过研究发现需要先引入nuget包

<PackageReference Include="Colorful.Console" Version="1.2.15" />

然后C#代码输出如下:

Colorful.Console.WriteAscii("free sql", Color.Yellow);

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-16
  • 2021-12-09
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
相关资源
相似解决方案