Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _03.GreetingByName
- {
- class Program
- {
- static void Main(string[] args)
- {
- //1. прочитаме име (текст)
- //2. отпечатваме -> “Hello, <name>!”
- string name = Console.ReadLine();
- Console.WriteLine("Hello, " + name + "!");
- }
- }
- }
Add Comment
Please, Sign In to add comment