Last active
January 18, 2023 14:55
-
-
Save GigaOrts/46e20264ff7a837a189a7fc4443d4964 to your computer and use it in GitHub Desktop.
Домашка 5 Основы программирование
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace domashka | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string name = "Орцхоев"; | |
string surname = "Орц"; | |
Console.WriteLine($"Имя: {name}\nФамилия: {surname}\n"); | |
string temp = name; | |
name = surname; | |
surname = temp; | |
Console.WriteLine($"Имя: {name}\nФамилия: {surname}"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment