I have string label = 20. I have added label prefix as "Goal" .in between i added \n . Two lines are not coming instead one line only appearing.I need Expected Output.
Expected Output:
Goal
20
ActualOutput:
Goal20
I have tried below methods, its not working
string label = Goal;
string cReturns = System.Environment.NewLine + "\n" + "\r";
string[] words = label.Split(cReturns.ToCharArray());
label = words +20;
or
label = "Goal\n20";
CAN ANYONE SUGGEST ME CORRECT ANSWER
Thanks