C# DateTime 02 : Get Current Date and Time

2
2



C# provides DateTime class that provides handy methods to manipulate Date and Time.Here for instance we show you how to display the current date and time.
Enjoy !!

Nguồn:https://wijstaanvooronzegrondrechten.org/

Xem Thêm Bài Viết Khác:https://wijstaanvooronzegrondrechten.org/cong-nghe

2 COMMENTS

  1. Thanks for the tutorial man. But there's just a small problem. You don't have to put Console.ReadLine to stop the console from closing, that's an error. The right line of code is:
    Console.ReadKey();

LEAVE A REPLY

Please enter your comment!
Please enter your name here