Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- internal class Program
- {
- static void Main(string[] args)
- {
- string firstName = "Андерсон";
- string lastName = "Томас";
- string tempName;
- Console.WriteLine($"Фамилия - {lastName}, Имя {firstName}.");
- Console.ReadKey();
- tempName = firstName;
- firstName = lastName;
- lastName = tempName;
- Console.WriteLine($"Фамилия - {lastName}, Имя {firstName}.");
- Console.ReadKey();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement