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>();
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
-
- Site Admin
- Posts: 346795
- 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
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