Question: Create a C# project (Can be Console application), name it as your first name _ last Name declare the following: string sValue = Today is

Create a C# project (Can be Console application), name it as your first name _ last Name declare the following: string sValue = "Today is the first day of " + "the rest of your life." Use appropriate methods to achieve the following, after each step, output result to show that task is completed.

a. Create a new string that has all lowercase characters except the word day. Day should be all uppercase.

b. Create a new string array that contains the eight elements. Each word from the sValue string should be in a separate array cell.

c. Remove the period from the last array element created in Step b. Display the contents of the new array verifying its removal.

d. Surround the sValue string with three asterisks on each end.

e. Replace the word first with the word best in the sValue string.

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!