Skip to content

Commit 55239ca

Browse files
SkaldaBillWagner
authored andcommitted
[Nullable introduction] Display question text (#1873)
Display question text instead of SurveyQuestion class name
1 parent bc25d34 commit 55239ca

File tree

1 file changed

+1
-1
lines changed
  • csharp/NullableIntroduction/NullableIntroduction

1 file changed

+1
-1
lines changed

csharp/NullableIntroduction/NullableIntroduction/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static void Main(string[] args)
2626
for (int i = 0; i < surveyRun.Questions.Count; i++)
2727
{
2828
var answer = participant.Answer(i);
29-
Console.WriteLine($"\t{surveyRun.GetQuestion(i)} : {answer}");
29+
Console.WriteLine($"\t{surveyRun.GetQuestion(i).QuestionText} : {answer}");
3030
}
3131
}
3232
else

0 commit comments

Comments
 (0)