• Where to get started learning C#
    14 replies, posted
I have some experience with Lua and GLua and was wanting to start expanding my knowledge! I downloaded an iOS app called C# (TouchLua helped me a ton) and realized it was shit because it made you pay to compile your script. And I couldnt find any other apps that allowed me to write my own code and run it. So I think I am going to do this on a desktop. What sites should I use for looking stuff up and what program should I use to write and compile my code? Thanks!
Use Visual Studio C#. It comes with everything you'd need.
Try [URL="http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx"]Visual Studio Express[/URL]. It's the free version of Visual Studio, but it's still fantastic. MSDN also has a comprehensive [URL="http://msdn.microsoft.com/en-us/library/618ayhy6.aspx"]C# reference[/URL], as well as documentation on every class in the .NET Framework, including example code on most of them.
1. Download VS Express 2. Start new project 3. Type random stuff on keyboard 4. Press F5 5. Study the errors and warnings, find out what's wrong. Consult google if necessary. 6. Return to step 3 until you know how to program. 7. ??? 8. Profit This is serious. That's how i learned programming at all. Except it was with Visual Basic because no one warned me.
[url]https://www.youtube.com/watch?v=x_9lfHjYtVg[/url] Learning a typed language from a non-typed can be difficult, but just mess around with tutorials and trial and error until you're a pro
[QUOTE=blakeguy25;45605911]-why would you ever?-[/QUOTE] Don't watch TheNewBoston for programming tutorials. Ever.
I used Head First C#, its good to learn the language (and OOP) but not as a reference.
[QUOTE=Lumaio;45608782]Don't watch TheNewBoston for programming tutorials. Ever.[/QUOTE] Can you explain why? Is he the programming equivalent of 3kliksphillip? @OP, I've struggled to try and learn programming outside of VB a lot, I've tried C++ and C# since at least 2007 but I've never really got anywhere. Still I try every now and then and manage to understand a bit more each time. The biggest hurdle for me was finding a method of learning that kept me engrossed. I can't just learn from reading out of a book, I can't keep my mind focused on a book unless there's some kind of story or excitement factor inside. In 2009 I learned Visual Basic at college and had pretty much mastered it in a week. I think that is down to being in a professional environment without distractions and the risk that if I failed it would mess up my whole course.
[QUOTE=Lumaio;45608782]Don't watch TheNewBoston for programming tutorials. Ever.[/QUOTE] Why not? Exho said he already knows how to program, so what wrong with learning another syntax from TheNewBoston? The only reason I suggested TheNewBoston is because it's the only tutorial series I've seen that isn't discontinued half-way through. Anyway, do you mind sharing what you have against him?
[QUOTE=blakeguy25;45612754]Why not? Exho said he already knows how to program, so what wrong with learning another syntax from TheNewBoston? The only reason I suggested TheNewBoston is because it's the only tutorial series I've seen that isn't discontinued half-way through. Anyway, do you mind sharing what you have against him?[/QUOTE] I will watch his tutorials cause he has a nice little playlist for C# stuff unless there is something he is majorly wrong about. I am just trying to learn syntax, how to read the code, and how to write basic code so that I can start learning on my own
Is learning C# in VS clever if you want to learn to script c# with unity?
[QUOTE=Erasus;45618549]Is learning C# in VS clever if you want to learn to script c# with unity?[/QUOTE] It's not a bad idea. Learning the syntax isn't hard but to pile that on top of everything else in Unity could get a bit messy
Is it bad to use monodevelop?
[QUOTE=Icejjfish;45647739]Is it bad to use monodevelop?[/QUOTE] Not if you have the newest version. It can be difficult to actually get that though and it's still inferior to the paid versions of Visual Studio.
[url=http://learncs.org/]Learncs.org[/url] is a relatively good place to get a grasp of the basics of the language.
Sorry, you need to Log In to post a reply to this thread.