Section 2: Code Fixing
11. Fix this method declaration:
public void PrintMessage {
Console.WriteLine("Hello!");
}12. Fix this struct constructor issue:
struct Player {
public string Name;
public Player() {
Name = "Default";
}
}13. Fix this enum:
enum:14. Fix this property declaration:
15. Fix this delegate declaration:
16. Fix this incorrect loop:
17. Fix this incorrect try-catch block:
try-catch block:18. Fix this static class issue:
static class issue:19. Fix this incorrect property setter:
20. Fix this incorrect event handling in Unity:
Last updated