Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Lesson8
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Введите строку на Ваше усмотрение->");
- string str = Console.ReadLine();
- string[] strs= str.Split(' ');
- Console.WriteLine("Расчленяем строку->");
- for (int i = 0; i < strs.GetLength(0); i++)
- {
- Console.WriteLine(strs[i]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement