using System;
using System.Collections;
using System.Text;
namespace project
{
class Program
{
static void main()
{
console.wrireLine("please enter the text consists of two lines or more.");
string s= Console.readLine();
Console.WriteLine("press 1 if you want delete all the space from the end of the text");
Console.WriteLine("press 2 if you wantcopy the text in the text of another variable ")
Console.WriteLine("press 3 if you want input a specific word to calculate the number of times a word appears in the text");
Console.WriteLine("press 4 if you want Calculate the number of phrases in the text");
Console.writeLine(" press5 if you want write "the end" in the end");
Console.WriteLine("press 6 if you want Change all the text characters to lowercase");
Console.WriteLine(" press 7 if you want change all letters of the text to uppercase");
Console.WriteLine("press 8 if you want to replace all the text comma ","");
Console.WriteLine(" press 9 if you want Exit program");
char otion = char . parse(console.Readline() );
switch(choice)
{
case '1':
string1 =string.removeSpace);
break;
case '2':
copy;
break;
انا حليت وماقدرت اكمل ممكن تساعدوني بليز بس لو حتى الفكره..
واذا المكان هنا غلط واين اكتب عطوني الرابط انا هنا جديده ..
ويعطيكم الف عافيه

