Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Globalization;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace HW_2025
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- string firstValue = "Хонда"; // | Вариант 2 Кофе
- string secondValue = "Соитиро"; // | Вариант 2 Чай
- string temp;
- Console.WriteLine($"Значения до изменений first = {firstValue}, second = {secondValue}");
- temp = firstValue;
- firstValue = secondValue;
- secondValue = temp;
- Console.WriteLine($"Значение после замены first = {firstValue}, second = {secondValue}");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement