This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Variables | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int pictures = 10; | |
float number = 2.5f; | |
double speedValue = 22.5; | |
long visitorsPerYear = 300000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Variables | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Здраствуйте! Перед рассмотрением вашей заявки нам требуется узнать немного о вас ;)\n- Нажмите ENTER -"); | |
Console.ReadKey(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Variables | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int picturesInRow = 3; | |
int picturesInAlbum = 52; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Variables | |
{ | |
internal class Class | |
{ | |
static void Main(string[] args) | |
{ | |
string firstName = "Smith"; | |
string lastName = "George"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Variables | |
{ | |
internal class Class | |
{ | |
static void Main(string[] args) | |
{ | |
float crystalCostInGold = 3.11f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Hospital | |
{ | |
internal class Class | |
{ | |
static void Main(string[] args) | |
{ | |
int timeForOnePatientInMinuts = 10; | |
int oneHourInMinuts = 60; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Loop | |
{ | |
internal class Class | |
{ | |
static void Main(string[] args) | |
{ | |
Console.Write("Your message: "); | |
string message = Console.ReadLine(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Exit | |
{ | |
internal class Class | |
{ | |
static void Main(string[] args) | |
{ | |
string exitWord = "exit"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Loop | |
{ | |
internal class Class | |
{ | |
static void Main(string[] args) | |
{ | |
int startNumber = 5; | |
int maxNumber = 103; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Rand | |
{ | |
internal class Class | |
{ | |
static void Main(string[] args) | |
{ | |
Random rand = new Random(); | |
int minPossibleNumber = 0; |
OlderNewer