I need help setting up this code for an assignment - C#