Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace homework_03_6
- {
- class Program
- {
- static void Main(string[] args)
- {
- //сепаратор по умолчанию пробел
- string[] date = null;
- Console.WriteLine("Введите данные через пробел: ");
- date = Console.ReadLine().Split();
- for (int i = 0; i < date.Length; i++)
- {
- Console.WriteLine(date[i]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement