Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [StartCode]
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp1
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- string text = "Привет как дела";
- Console.WriteLine(text);
- string[] words = text.Split(' ');
- for (int i = 0; i < words.Length; i++)
- {
- Console.WriteLine(words[i]);
- }
- }
- }
- }
- [EndCode]
Advertisement
Add Comment
Please, Sign In to add comment