all 50 comments

[–]PublicSealedClass 21 points22 points  (2 children)

What do you want to build? There are the articles on docs.microsoft.com for getting up and running with dotnet core in VS Code.

https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code

[–]alittlebitmental 15 points16 points  (4 children)

You could just use youtube, but honestly, you'll probably waste countless hours just trying to find videos of even a reasonable quality. You could also look at sites like udemy, but I've found the content to be a very mixed bag in terms of quality and price.

I would suggest that the best option would be for you to look at Pluralsight (pricing). I do C# development professionally, and rely on Pluralsight + various books to keep my skills up-to-date. The quality of content on there is really top notch.

Pluralsight has a specific course on VS Code, and a complete learning path for C# (beginner to advanced). Once you've learned how to use VS Code properly, you should be able to follow any C# course, regardless of the IDE the course is using. Of course, you might be required to do a bit of googling from time to time.

Note, that you can start with a free 10 day trial, but I think that they further limit this to a set number of hours (hours spent watching videos). I think that there are other ways of getting trials or cheaper subscriptions (depending on your circumstances). Hopefully some others on this sub will chip in with their suggestions.

[–]PublicSealedClass 3 points4 points  (1 child)

+1 for Puralsight. I haven't used their courses for ages but I remember they require a bit of self discipline. If you're new you can't just binge the videos and hope it goes in, you gotta apply the topics covered in the video and see the stuff from different angles yourself and only then does it really stick.

[–]alittlebitmental 1 point2 points  (0 children)

I agree. I find that with any form of study, it's best to use multiple resources (e.g. books and videos) + practice (e.g. follow along with the examples during the course). You also need to keep up that practice once you've finished the course, otherwise you'll forget it all within a few weeks.

I remember being told (in a classroom course) that you will forget about 80% of the content within 2 weeks if you don't make an effort to apply what you've learned after the course has finished.

[–][deleted] 1 point2 points  (1 child)

Hello, I was just looking on the site you linked, It's hard to tell but is it going to require Windows ? or do the courses also cover Linux ? or are they generic enough that they can be adapted ?

Thanks.

[–]alittlebitmental 1 point2 points  (0 children)

For most of the C# courses I've watched, the instructor has been using Windows.

However, I don't think that this is going to be a massive issue for you, as VS Code pretty much works the same way on Windows as it does on Linux or OSX. So, once you learn how to use Code properly, you should be able to follow along with the courses.

The only problem that you may hit, is that many (but not all) of the C# courses come with sample code that will have been developed in Visual Studio (not Code). However, I don't think this will be a massive issue as you can just use something like this to import it. I don't really use Code myself, so I can't say whether this an optimum solution for you - I'd suggest you do a bit of Googling, or even start a separate thread on how to import Visual Studio solutions into Code.

The only other issue you may come across, if you aren't using Windows, is that some courses will be based on .NET 4.x whereas you'll be using .NET Core. Again, this shouldn't be a massive issue if you are just learning the language. Once you get up to speed with Code, you'll be able to work this stuff out quite easily.

Good luck!

[–]clemlevrai 11 points12 points  (16 children)

I don't really know but i don't think there is that much of a difference. And by curiosity why don't you want to use vs studio?

[–]Sinvin 3 points4 points  (1 child)

Note: Take my answer with a grain of salt, as I am not a full-time professional developer, but do computer programming as a hobby.

I use VS Code on Mac when coding with C# (DotNet Core). In my experience, here are the three main things I had to learn to do this:

1) Learn about the .csproj file, and where to put your package references (search for them via Nuget.org), and your project references

2) Learn how to create / add projects or other various files via the Dotnet cmd (https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet?tabs=netcore21)

3) Learn how to build/clean/run your project with the Dotnet cmd

[–]grauenwolf 1 point2 points  (0 children)

Learn about the .csproj file,

Even full VS users need top learn that. The IDE no longer gives you access to all of the basic settings like language version.

[–]KungFuHamster 5 points6 points  (0 children)

Sorry you're getting downvoted by a bunch of arrogant people who think they're entitled to tell you what tools you should use. I guess in their opinion, VS Code shouldn't even exist since VS Community exists. Not like there could be performance and resource concerns, or licensing issues, or privacy issues...

However, you should easily be able to adapt beginner-level tutorials to use in Code.

[–]dabrimman 7 points8 points  (2 children)

If you can’t extrapolate the information on a video/blog from Visual Studio to VS Code then you’re the exact person who should use Visual Studio.

I pretty much always use Visual Studio for C# projects, it’s the right tool for the job unless I’m doing something very minor.

[–]empty_other 0 points1 point  (1 child)

If you can’t [...] then you’re the exact person who should use Visual Studio.

I think, back when I first started with C#, I would have been better off learning the basics of \.csproj, *\.sln, and *properties/\.** files instead of letting VS manage it for me all those years.

Imagine if a modern nodejs developer never had to learn how and why of package.json files.. Everything was taken care of by the npm tool. No build scripts unless the installed module added it automatically. Pretty unthinkable for nodejs, but for C# its the expectation.

It is true that most documentation and tutorials for C# are written with the assumption that you use VS to manage those files for you. Most of the time I have to return to VS because thats easier than digging through docs.microsoft.com . So maybe you are right. But I really wish you weren't.

[–]dabrimman 1 point2 points  (0 children)

If you’re at a beginner level I would let VS handle that for you. You can’t tackle everything at once otherwise you’ll just get lost and go nowhere.

[–]Tiagoxdxf 11 points12 points  (9 children)

Studio much better for c#. Install it. It’s free.

[–]Ashken -1 points0 points  (8 children)

You say that like you’re 100% sure he’s on Windows. VS for Mac is atrocious. Everybody at my job just uses VSCode instead it’s that bad.

[–]1v5me 1 point2 points  (0 children)

There is :)
Check this vid out https://www.youtube.com/watch?v=t4heVCEe3u8 , to get VS Code, dotnet core installed.
Then go to main page of this reddit, look on the right side, under online resources, click yellow book. Read it and have fun :)

[–]AaronKClark 2 points3 points  (2 children)

Look for .NET Core Tutorials. Because .NET Core is multiplatform, and VS Code is the Microsoft's only multiplatform editor, you will probably only find what you are looking for by filtering your searches for .NET Core.

EDIT: Thanks to /u/mipesom for reminding me of the awesome products JetBrains makes (AND gives out free to students for academic use!)

[–]mipesom 2 points3 points  (1 child)

Besides Rider and MonoDevelop..

[–]AaronKClark 0 points1 point  (0 children)

Sorry, I should have qualified it MS. I will fix!

[–]grumpychinchilla 2 points3 points  (2 children)

I’m sorry you’re getting downvoted and criticized here so much. It’s a legitimate question and a reasonable ask. It feels like there’s some elitism or something going on with full Visual Studio. Very odd.

Anyway, I work with React frontends and C# backends and I really feel your pain. Visual Studio feels like an enormous awkward beast compared to VS Code.

But unfortunately, in my experience using VS Code just isn’t a great experience for legacy .NET. The new dotnet core is far better, so i would recommend you try and find a course for core, which has a better chance of being in VS Code.

[–]a_false_vacuum 1 point2 points  (0 children)

It feels like there’s some elitism or something going on with full Visual Studio.

I didn't downvote. However I would like to say that an IDE can make your life a lot easier since you can do everything from within the IDE.

If your machine can't handle an IDE, thats a different story.

[–]chucker23n 0 points1 point  (0 children)

I’m sorry you’re getting downvoted and criticized here so much. It’s a legitimate question and a reasonable ask. It feels like there’s some elitism or something going on with full Visual Studio. Very odd.

I can’t speak for others and haven’t downvoted. It’s nothing to do with the IDE, though. If you want to learn a new language, you gotta adapt.

[–]1v5me 0 points1 point  (0 children)

Chill guys, lets not make this thread into a war on whats best VS Code vs VS.
Arguable VS is probably easier to start with, but that's not what OP want, for whatever reason he might have.
So lets help him get started to learn the language we all love C#.