Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace HomeWork
- {
- internal class Program
- {
- public static void Main(string[] args)
- {
- string userName = "12345678";
- string password = "ProGamer";
- Console.WriteLine($"До перестановки: NickName = {userName}, Password = {password}");
- string temp = userName;
- userName = password;
- password = temp;
- Console.WriteLine($"После перестановки: NickName = {userName}, Password = {password}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement