bool alivel = true;
bool Deads = false;byte bit1 = 1;
byte bit2 = 102;sbyte bit1 = -101;
sbyte bit2 = 102;short n1 = 1;
short n2 = 105;ushort n1 = 1;
ushort n2 = 105;int a = 20;
int b = 0b101; // бинарная форма b = 5
int c = 0xFF; // шестнадцатеричная форма c = 255uint a = 20;
uint b = 0b101;
uint c = 0xFF;long a = -25;
long b = 0b101;
long c = 0xFF;ulong a = 20;
ulong b = 0b101;
ulong c = 0xFF;float x = 4.5F;double x = 4D;decimal myMoney = 300.5m;char a = 'A';
char b = '\x5A';
char c = '\u0420';string hello = "Hello";
string word = "Max";object a = 22;
object b = 3.14;
object c = "hello code";using System;
namespace HelloWorldApp
{
class Program
{
static void Main(string[] args)
{
string name = "Max";
int age = 18;
bool Employed = false;
double weight = 94.69;
Console.WriteLine($"Имя: {name}");
Console.WriteLine($"Возраст: {age}");
Console.WriteLine($"Вес: {weight}");
Console.WriteLine($"Работает: {Employed}");
}
}
}