#Internal mistake in the first exercises of switch: Football Match Reports

3 messages · Page 1 of 1 (latest)

ashen seal
#

You need to take the output from GetDescription() and construct the needed string. The instructions are explicit:

Modify the PlayAnalyzer.AnalyzeOffField() method

glossy moat
#

In this task, there are two files, and the only one I can modify is FootballMatchReports.cs. The definition of the GetDescription() method in OffFieldActivitiesAndCharacter.cs is fixed and cannot be changed. If I try to redefine the Injury class, I encounter the error:“Namespace <global namespace> already contains a definition for ‘Injury’.

rare token
#

Glenn didn't say you change what GetDescription returns. He said to take the value it returns and do something with it.