private static void Main(string[] args) { string[] input = Console.ReadLine().Split(", "); string title = input[0]; string content = input[1]; string author = input[2]; Article article = new Article(title, content, author); int numberOfCommands = int.Parse(Console.ReadLine()); for (int i = 0; i < numberOfCommands; i++) { string[] commands = Console.ReadLine().Split(": "); if (commands[0] == "Edit") { article.EditContent(commands[1]); } else if (commands[0] == "ChangeAuthor") { article.ChangeAuthor(commands[1]); } else if (commands[0] == "Rename") { article.Rename(commands[1]); } } Console.WriteLine(article.ToString()); }