VelizarAvramov

Untitled

Jul 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1. Write a program, which greets the user by their name, which it reads from the console.
  2. using System;
  3.  
  4. namespace _01._Greeting
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             string name = Console.ReadLine();
  11.             Console.WriteLine("Hello, {0}!", name);
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment