From 85c2d250c01f4ee1c62a217cda019d8b45da2f44 Mon Sep 17 00:00:00 2001 From: deadzilla Date: Tue, 14 Apr 2026 22:35:52 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=20=D1=81=20?= =?UTF-8?q?=D1=82=D0=B8=D0=BF=D0=BE=D0=B2=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CSHARP/Program.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/CSHARP/Program.cs b/CSHARP/Program.cs index 3751555..0936872 100644 --- a/CSHARP/Program.cs +++ b/CSHARP/Program.cs @@ -1,2 +1,16 @@ -// See https://aka.ms/new-console-template for more information -Console.WriteLine("Hello, World!"); +//типы данных +int age = 25; +double price = 19.99; +string name = "Vasya"; +bool active = true; +char symbol = 'S'; +decimal tax = 15.99M; +DateTime today = DateTime.Now; +List names = new List { "Vasya", "Petya" }; +Dictionary students = new Dictionary +{ + {1, "Alice" }, + {2, "Frank" }, + {3, "Ivan"} +}; +string[] days = { "Mon", "Tue", "Wed" };