Given is the code of days(example:”MTWTFSS”) which I need to split and hence create a list of days of week in strings( e

Answers to popular Homework/Schoolwork assignments, tests, and more.
Post Reply
homeworkanswerdumps
Site Admin
Posts: 345292
Joined: Mon May 16, 2022 9:31 am

Given is the code of days(example:”MTWTFSS”) which I need to split and hence create a list of days of week in strings( e

Post by homeworkanswerdumps »

a) var daysArray = new List<String>();
b) var daysArray = days.Select(c =>dayMapping[c]).ToArray();
c) var daysArray = days.ToCharArray().Select(c =>c.Tostring()).ToArray();
d) var daysArray = days.Select<String>();
Register to view solutions, replies, and use search function. Request answer by replying! For more answers visit our other sites: AnswerAccurate HomeworkAnswerHelp AnswerHappy and QuestionAnswerDump

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply