Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace HelloName
- {
- class MainClass
- {
- public static void Main(string[] args)
- {
- string name = Console.ReadLine();
- HelloByName(name);
- }
- static void HelloByName(string helloName)
- {
- Console.WriteLine($"Hello, {helloName}!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement