Обновить works/lab-01/Readme.md

This commit is contained in:
2026-09-03 12:50:28 +00:00
parent b79ac0ea06
commit 828981db22
+14 -5
View File
@@ -7,9 +7,18 @@
## Ключевой код
```csharp
// Самая важная часть реализации (методы, структуры, логика)
public class Card
{
public string Name { get; set; }
public int Hp { get; set; }
using System;
class Program {
static void Main(string[] args)
{
Console.OutputEncoding = System.Text.Encoding.UTF8;
Console.WriteLine("=== БАЗА ДАННЫХ ПОКЕМОНОВ ====");
string pokemonName = "Чармандер";
string elementType = "Огонь";
int level = 1;
int hp = 95;
Console.WriteLine($" Покемон: {pokemonName} \n Стихия: {elementType} \n Уровень: {level} | HP: {hp}");
}
}