简体   繁体   中英

I want to change time color in c# console app

I have this code :

Console.Write("Current Date and Time is :");                  
DateTime now = DateTime.Now;
Console.Write(now);

but i just want to change color of point and two points.

I have this code :

Console.Write("Current Date and Time is :");                  
DateTime now = DateTime.Now;
Console.Write(now);

but i just want to change color of point and two points.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM