Question: The following code must be written using C#. Can only use standard methods like StartsWith, Trim, Replace etc. The output should be a list with

The following code must be written using C#. Can only use standard methods like StartsWith, Trim, Replace etc. The output should be a list with the speaker followed by the what he says

remove all tags etc such that the only thing that appears is a list

Like speaker name: "what he says"

Below is the text

George: Hey hey hey, check me out, huh?

Jerry: No more crutches, that must be a relief.

George: Yeah, with crutches everyone has questions.

Jerry: Not with a cane?

George: Nah, with crutches it's a funny story, with a cane it's a sad story.

You through with those?

George uses the cane handle to drag a bowl of pretzels over from the other end

of the bar.

Jerry: Always a sad story. Hey, you should have been here tonight. Some guy

from NBC saw my set, he wants me to do a showcase. I might have another shot at

a pilot.

George: Alright, we're back in!

Jerry: We? No.

Club announcer (off camera): Ladies and gentlemen, Kenny Bania.

Applause from off camera, then Bania walks up to the bar.

Bania: Thank you, thank you, (To Jerry) Hey, Jerry, didja see me up there? I

was killing, Jerry. Killing. I killed.

Jerry: Killed?

Bania: Killed. (pause) I'm gonna go pick up some chicks. Good looking ones,

too! (walking away): Hey, what's your name?

George: Killed.

Jerry: Because I killed first and warmed up the crowd. He's like that fish

that attaches himself to the shark.

George: And you're the shark?

Jerry: Yeah, I'm the shark and he's the fish eating my laughs.

George: I don't know how a fish could eat laughs.

Jerry: Well, I'm glad I brought it up.

New scene.

Jerry's apartment. George and Jerry are there, clean shaven, George is on the

phone. Kramer walks in wearing a moustache.

Kramer: Got any shredded coconut?

Jerry (looking at Kramer's moustache): Uh, we're not doing that anymore.

Kramer: Yeah, yeah, right. (walks out)

George: Oh my god.

Jerry: What?

George: I got a job interview. They want to see me this afternoon.

Jerry: So what's this job?

George: Oh, it's beautiful. It's in sports.

Jerry: Knicks? Rangers?

George: Playground equipment.

Jerry: Welcome back to the show.

Kramer walks back in, clean shaven.

Kramer: Yeah, this is better. So, you got any shredded coconut?

Jerry: No.

George (holding his cane): I gotta hobble. (walks out)

Kramer puts some aftershave on his lip.

Kramer: D-d-d-d. I gotta switch shaving cream. I'm getting no protection.

Jerry: What kind do you use?

Kramer: Whatever you get.

Jerry (nods): Look, postcard from Elaine from Europe.

Kramer: Don't tell me she's dragging another poor guy across Europe.

Jerry: Remember David Puddy?

Kramer: She's dating him again, huh?

Jerry: Well, I guess she's batted around and she's back at the top of the

order.

Kramer: Boy, a month in Europe with Elaine. That guy's coming home in a body

bag.

New scene.

Atlas map of Scandinavia with Oslo, Norway highlighted. Cut to Elaine and Puddy

in the back seat of a taxi.

Puddy: Well, let's see, I've got a ten kroner, a five kroner, a twenty kroner.

No wait, that's another ten kroner. A fimty kroner? How much is that?

Elaine: We have to break up.

Puddy: What?

Elaine: I can't take this anymore! I don't want to hear how interesting the

change with the hole in it is! And if you tell me what time it is in New York

again, you are going home in a body bag!

Puddy: Well what about you? What do you think The Gap in Rome has that's not

in The Gap on Broadway?

Elaine: Okay, alright listen. Forget about The Gap because we are through!

Puddy: Fine!

Elaine: Fine!

Cab driver: Okay, terminal three. Have a nice flight.

New scene.

Interior of an airplane. Elaine and Puddy are seated together.

Captain: Ladies and gentlemen, our flight time, with stopovers, will be

approximately 22 hours.

Elaine (to flight attendant): Hey, you gonna bust out that drink cart or what?

New scene.

Jerry's apartment. Kramer and Jerry are there.

Kramer: Hey, what are you doing?

Jerry: Oh, I'm taking this lace out. It came undone and touched the floor of a

men's room. That's the end of that.

Kramer: Did you see Bania's set last night? 'Cause I read on the Internet he

killed.

Jerry: He killed. He only does well when he has me for a lead-in. He's a time

slot hit.

Kramer: Well, you gotta give him some credit. (starts rubbing a stick of

Jerry's butter across his face) You're just being totally ridiculous. (keeps

rubbing) I'll see you later buddy.

Jerry: Wait, wait, wait, wait, wait a minute.

Kramer: What?

Jerry: Do I have to ask?

Kramer: I ran out of butter so I had to borrow yours. Anything else, Mr. Nosy?

Kramer starts to walk out, Jerry grabs him by the shirttail and drags him back.

Jerry: Why are you buttering your face?

Kramer: I'm shaving with it.

Jerry: Oh Moses smell the roses.

Kramer: Jerry, it's vastly superior to any commercial shaving cream. Now feel

my face.

Jerry: No.

Kramer: Feel it.

Jerry: I don't want to.

Kramer: Feel it. Feel it.

Jerry (places two slices of bread against Kramer's face): That is close.

Kramer takes the bread and eats it as he walks out of Jerry's apartment.

New scene.

George's job interview at Play Now Sporting Goods.

George: I got the job?

Mr. Thomassoulo: I don't want you to think that anyone's gonna

The reply to what speaker says: "what he says"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!