I have a Python background and I'm learning C# right now. Unity development is done in C# if your interested in games or 3D applications. There's a ton of resources for that kind of think out there and I find its a fun context to learn in. I've also had decent results recreating tutorials written for other languages using LLMs. Just start with step 1 as a premise and state the overall goal, then ask for incremental changes at each step an ask questions and for alternate solutions. Just watch out for those hallucinations.
C# was the first language I learned in school, there's plenty of beginner resources for it on Youtube. You can also try some projects using Windows Form Applications (janky but fun) or the Unity game engine, which has tons of resources online.
Java and C# are very similar, worst case scenario learn Java, then C# will be easy.
Depends how you learn. Being mindful of what your goal is helps. C# can be used for console apps, it can also be used to make ASP.Net websites, further afield you can program the Unity games engine with C#. Each of these will have "absolute beginner most basic first steps" type tutorials out there. They'll all have some similarity as you'll need to just learn the C# syntax one way out another, but it miles easier doing this if you're vaguely interested in the types of apps you're heading towards.
If all else fails, message me, I was there once, about 20 years ago..
My first projects were super janky gui stuff that was ported over from Java (very similar syntax, but connected with the visual studio built-in gui editor) and improved to a proper "c#" style using resharper (a jetbrains tool that boosts the capabilities of visual studio) Nowadays you can get a free version of Rider that will include those style tools, so I'd recommend that. But if you use Visual Studio, you can create a Winforms project which can let you drag components to make UI and easily assign code to events. If you are used to raw HTML webpage creation, you might be able to get away with using something like WPF or (cross platform) Avalonia to make a UI, but these are a bit more intense since they use something called the Model-View-Viewmodel framework. It needs you to know how to 'bind' variables to events using the observable class, which can be tricky the first few times you use it. I'd look into picking a simple project where you can learn how to use classes effectively (C# is based around Object Oriented Programming much more than bash and self-taught Python would cover). Also would recommend following some of the very simple Unity tutorials to get a handle on the syntax, such as the Unity-made Roll-a-Ball tutorials. These tutorials show the concepts for class-based design and overriding functions.
Jumping from loose-typed language to strict-typed language will be hard.
It's also a matter of your general programming experience. Once you write, like, ten thousand lines of meaningful code in Python, learning C# should take you a month or two at most, you'll know most programming concepts and algorithms intrinsically, and the rest is just learning syntax.
I just jumped in, start making some cool projects
With basically no knowledge? I could create a new project using chatgpt but i will not learn c# with that
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev