Добавьте файлы проекта.

This commit is contained in:
zcher
2025-12-14 18:05:36 +03:00
committed by yato
parent 64b6e01512
commit 84abc28e16
7 changed files with 228 additions and 0 deletions

13
Test.cs Normal file
View File

@@ -0,0 +1,13 @@
using System.Net.Mail;
using First_week;
User nekit = new User("Nikita", "Polyanin", new MailAddress("polyanin@mail.ru"), new DateOnly(2004, 12, 8));
Console.WriteLine(nekit.GetFullName());
nekit.UpdateEmail(new MailAddress("lox@mail.ru"));
Console.WriteLine(nekit.Email);
nekit.UpdateDate(new DateOnly(2024,12, 8));
Console.WriteLine(nekit.Date);
CollectionUtils.Shuffle()