Escape Tutorial Hell: Learn C# Building a Math Game - Part 6 (Datetime and .NET Class Library)

preview_player
Показать описание
In this video we start coding our game, using some of the techniques previously learned. We are also introduced to the Datetime type and calling methods from the .NET Class Library.

🧑🏽‍💻Github branch:

🌏 Website:

👨‍👩‍👦‍👦 Discord (add me and I'll add you to our community):
pablocappuccino#4729

🏫 Relevant Resources:
Рекомендации по теме
Комментарии
Автор

Instead of var you can use sting for name.
string name = Console.ReadLine(); // line 3

With date use string instead of var by:
string date = DateTime.UtcNow.ToString(); // line 4
or if you want current time of user's device can use
string date = DateTime.Now.ToString(); // line 4

At 3:40 you would add DayOfWeek to the string date on line 4. Like this
string date = // line 4
or
string date = // line 4

neilfosteronly
join shbcf.ru