4. 評分項目:
(1) 符合設計說明輸出正確格式配分 20作者: may 時間: 2024-1-9 09:48
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Collections;
namespace CSA05
{
class CSA05
{
static string title = "The Little Prince";
static string content = "To me, you are still nothing more than a little boy who is just like a hundred thousand other little boys. And I have no need of you. And you, on your part, have no need of me. To you, I am nothing more than a fox like a hundred thousand other foxes. But if you tame me, then we shall need each other. To me, you will be unique in all the world. To you, I shall be unique in all the world.";
static void Main(string[] args)
{
try
{
string row = Console.ReadLine();
int lines = 0;
//TODO
string fileName = "write.txt";
string[] paragraphInArray = content.Split(
new char[] { '.' },
System.StringSplitOptions.RemoveEmptyEntries);
List<string> paragraphInList = new List<string>();