I'm new to programming and learned Java a few months ago while making Minecraft mods. Now I'd like to broaden my skills by learning C#, partly because I want to use Unity. I know C# and Java have similar syntax, but I found Karel the Robot especially helpful because its interactive exercises made concepts stick through repetition and hands-on practice. Are there any engaging, interactive ways to learn C# that provide a similar experience? I'm willing to follow a video course if necessary, but I'd prefer something where I can actively solve problems and get immediate feedback.
3 Answers
CodinGame is worth checking out. It teaches programming through interactive puzzles and supports C#, so it can give you more hands-on practice than a standard video series.
Because C# is so close to Java, you may find that beginner-focused interactive tools cover familiar material pretty quickly. After reviewing the differences in syntax and the .NET basics, it may be more useful to practice with small C# projects and then move into Unity-specific exercises.
Microsoft's interactive C# beginner lessons are a good place to start. You could also build your own Karel-style exercise in C#: make a grid-based robot that can move, turn, and pick up or place items. That recreates the immediate feedback you liked while practicing methods, loops, and conditionals in real C#. Since you already know Java, you can probably move through the basic syntax fairly quickly before focusing on the exercises.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically