From the course: Advanced C# Programming Concepts
Using CoderPad - C# Tutorial
From the course: Advanced C# Programming Concepts
Using CoderPad
- [Instructor] This course includes automated code challenges that appear when you click on the challenge links in the courses table of contents. Each challenge includes instructions and a couple of code editors you can use to create and test your own solution to the challenge. These challenges are hosted by Coder Pad and they appear in the same area of the course page where you watch the courses videos. We recommend using a desktop browser for the best experience with code challenges, but you can also use the LinkedIn Learning mobile app if you prefer. The code Challenge has four areas. There's instructions in the top left, a code editor for your answer in the top right. There's another code editor in the bottom right where you can see how your code is going to be called. And in the lower left is a console for output. You can use these drag handles to allocate space as you like. To get even more horizontal space for the code editors, you can collapse the courses table of contents over there on the left. Each challenge has instructions that include a description of the challenge and the challenges, parameters, and desired result. Now depending on the challenge, you will see some additional information in the instructions such as an explanation of the parameters that your code will be given, along with some examples of what the expected output might look like. So you will create your answer in the top right code editor. And there are comments showing you where to put your solution. And when you click on test my code, you'll see a message indicating whether your code returned a correct result. So let's go ahead and test my code. And over here in the console you can see that I got things wrong. Now, if your code isn't successful, you can ask for help. What you can do is change these two variables here, the show expected result and show hints variables determine whether you see the expected result and any hints. So let's change both of these to true. All right, let's test my code again. And now the code editor in the lower left, the console here you can see the expected result of 19. And I've got a hint. All right, so let's go ahead and implement the hint. I'm going to return, whoops, numbers.max. And to do that I have to use system.link. All right, let's go ahead and run. And now you can see that I've got the correct result. Now regardless of whether your answer is successful, you'll see messages in this console output in the lower left. And if any messages are too long to fit, you can scroll sideways to see all the text. When you finished each code challenge, return to the courses table of contents, and click the next video to see my solution.