Abc.NCrafts.App.ViewModels.PerformanceGamePage.GetHighlightedLines C# (CSharp) Method

GetHighlightedLines() private static method

private static GetHighlightedLines ( Answer answer ) : int[]
answer Abc.NCrafts.App.ViewModels.Questions.Answer
return int[]
        private static int[] GetHighlightedLines(Answer answer)
        {
            var lineCount = answer.HighlightedSectionEndIndex - answer.HighlightedSectionBeginIndex + 1;
            return Enumerable.Range(answer.HighlightedSectionBeginIndex + 1, lineCount).ToArray();
        }