Skip to content

Instantly share code, notes, and snippets.

public static void Main(string[] args)
{
int photos = 52;
int photosPerRow = 3;
int fullRowsCount = photos / photosPerRow;
int overflowCount = photos % photosPerRow;
Console.WriteLine("Available Photos : " + fullRowsCount);
Console.WriteLine("Photos Overflow : " + overflowCount);
Console.ReadLine();
byte hour = 21;
sbyte sleepHours = 6;
int weekNumber = 3;
short year = 2021;
ushort daysInYear = 365;
float temperature = 36.6f;
bool isMonth31Day = true; //месяц где 31 день
uint dayNewEra = 737695; // для примера берем примерное число с 1.01.0000
long secondsInMonth = 2592000;
ulong usaNationalDebtInRub= 2568879600000000; // примерный госдолг сша в рублях :)