Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace HomeWork
- {
- internal class Program
- {
- public static void Main(string[] args)
- {
- string text = "Не доебывайтесь пожалуйста сильно господа C# ментора";
- string[] words = text.Split(' ');
- Console.WriteLine("Слова в строке:");
- foreach (string word in words)
- Console.WriteLine(word);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement