generated from admin/template
Обновить works/lab-01/Readme.md
This commit is contained in:
+13
-4
@@ -7,9 +7,18 @@
|
||||
|
||||
## Ключевой код
|
||||
```csharp
|
||||
// Самая важная часть реализации (методы, структуры, логика)
|
||||
public class Card
|
||||
using System;
|
||||
|
||||
class Program {
|
||||
static void Main(string[] args)
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int Hp { get; set; }
|
||||
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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user