Im new to this and was wondering why im getting a error for this part of my project on vision studio code thanks

public new static char UpdateCursor(string keyPressed)

{

switch (keyPressed)

{

case "LeftArrow":

return '<';      

break;



case "RightArrow":

return '>';

break;



case "UpArrow":

return '^';

break;



case "DownArrow":

return 'v';

break;



default:

return 'X';

break;

}

Hi there.

Can you provide a link to the project you’re trying to do please? :slight_smile:

Yeah sure the link is provided below :slightly_smiling_face:
https://www.codecademy.com/practice/projects/console-game-challenge-project

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.