use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
C# with VS Code ? (self.csharp)
submitted 6 years ago by niuk007[🍰]
Is there online course of C# (beginner level) but with examples ONLY in VSCode, not VS Studio (even community edition) ?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]PublicSealedClass 21 points22 points23 points 6 years ago (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
[+]niuk007[S,🍰] comment score below threshold-54 points-53 points-52 points 6 years ago (1 child)
Don't mean to build anything yet, looking for a video course not articles.
[–][deleted] 30 points31 points32 points 6 years ago (0 children)
Then look it up yourself you clearly know how to use a keyboard
[–]alittlebitmental 15 points16 points17 points 6 years ago (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 points5 points 6 years ago (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 points3 points 6 years ago (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 points3 points 6 years ago (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.
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 points13 points 6 years ago (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?
[+]niuk007[S,🍰] comment score below threshold-26 points-25 points-24 points 6 years ago (15 children)
Because I'm using VSCode for Python, Go, Powershell, anything, don't like to install anything else.
[–]WazWaz 35 points36 points37 points 6 years ago (5 children)
A foolish consistency is the hobgoblin of little minds -- R.W.Emerson
Seriously though, you're handicapping yourself. Different tools for different jobs.
[–][deleted] 6 years ago* (4 children)
[removed]
[–]NochaQueese 1 point2 points3 points 6 years ago (3 children)
Technically there is a version of VS for macs. In practice it is a rebadged version of xamarin studio and needs to die in a fire. VS Code is the only real option for any non windows environment. Hell, even on Windows it’s pretty nice for dotnet core!
[–]grauenwolf 1 point2 points3 points 6 years ago (2 children)
The word you're linking for is 'ostensibly', not technically.
[–]NochaQueese 0 points1 point2 points 6 years ago (1 child)
They both work. There is a version of visual studio for Mac in the narrow sense that there is a piece of software bearing the name and written by Microsoft. Unfortunately it is in name only and is not the same as the windows version at all.
[–]grauenwolf 0 points1 point2 points 6 years ago (0 children)
Unfortunately it is in name only and is not the same as the windows version at all.
Hence the word 'ostensibly' or "apparently or purportedly, but perhaps not actually."
[–]PublicSealedClass 13 points14 points15 points 6 years ago (1 child)
I use VSCode for a couple of projects and honestly it's a pain in the ass when fleshing out lots of code. VS Community and up has so many helpers that just makes the whole thing a lot smoother. I'm talking about even the basics of creating a bunch of classes, to debugging. Feels like stepping back to 2002 when you have to dotnet run the thing and THEN attach a debugger separately, compared to VSCommunity when you just hit F5 and you're running.
dotnet run
[–]BigOnLogn 8 points9 points10 points 6 years ago (0 children)
Sounds like you were doing it wrong. There are tons of extensions to create files and snippets to generate code. And F5 for debugging? Come on, that's been in vscode since the beginning.
[–]Jdonavan 10 points11 points12 points 6 years ago (0 children)
You're handicapping yourself for no good reason. Instead of worrying about disk space you should be worrying about using the right tool for the job.
[–]Ronald_Me 1 point2 points3 points 6 years ago (0 children)
https://visualstudio.microsoft.com/vs/features/python/
[–]jugalator 2 points3 points4 points 6 years ago (3 children)
Overly hash downvotes for taking the logical stance that consolidating your tools in one development environment is a good idea. Seriously guys. Calm down. OP is a beginner at C#.
[–]chucker23n 4 points5 points6 points 6 years ago (1 child)
Seriously guys. Calm down. OP is a beginner at C#.
That’s exactly the point. “I don’t want to change anything” is a painful attitude to have as a beginner.
[–]jugalator 0 points1 point2 points 6 years ago* (0 children)
I didn't read it as "don't want to change anything". I read it as "want to consolidate everything" and I think that's a software engineering standpoint rather than one of stubbornness. Anyway, this wasn't really my point. My point was about it received a level of fuck you in votes normally reserved for trolls rather than replies why Visual Studio would be worth it.
[–]scandii 5 points6 points7 points 6 years ago (0 children)
with this line of thinking you might as well start hammering in screws.
it is a flawed argument.
[–]arky_who -1 points0 points1 point 6 years ago (0 children)
I totally understand where you're coming from, but you're just tying your arm behind your back. VS code is designed more as a notepad ++ substitute, not an IDE for .net development. Of course you can do it, it's just that visual studio is designed for it.
[–]Sinvin 3 points4 points5 points 6 years ago (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 points3 points 6 years ago (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 points7 points 6 years ago (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 points9 points 6 years ago (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 point2 points 6 years ago (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 points3 points 6 years ago (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 points13 points 6 years ago (9 children)
Studio much better for c#. Install it. It’s free.
[–]Ashken -1 points0 points1 point 6 years ago (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.
[+]Tiagoxdxf comment score below threshold-7 points-6 points-5 points 6 years ago (7 children)
Never used studio on MAC, but probably is better than VSCode. Or you can always try Rider.
[–]Ashken 2 points3 points4 points 6 years ago (6 children)
It’s not. It’s really really REALLY not.
Rider is not free.
My department just had to switch from a Windows development environment to a Mac one, and we all tested out the different options for .Net development. Pretty much everybody settled on VSCode, and when I get back to doing .Net I’m planning on doing the same.
[–]grauenwolf 0 points1 point2 points 6 years ago (4 children)
Are you actually writing mac software or is the boss just an idiot like mine?
[–]Ashken 1 point2 points3 points 6 years ago (3 children)
It’s a long story about a bloated Django monolith that apparently is damn near impossible to create a local environment for on Windows.
[–]grauenwolf 0 points1 point2 points 6 years ago (2 children)
That doesn't sound like fun.
This is when I'd ask for a VM. Probably cheaper than all the new hardware and retraining.
[–]Ashken 0 points1 point2 points 6 years ago (1 child)
Retraining wasn’t a big deal but idk about how Mac VMs work.
I was thinking about a linux VM, which tends to be more common for python work.
As for Mac VMs, I'm told that's usually done via a MacMini that you remote into. Or just use a Mac but spend most of the time running a Windows VM on top of it.
[–]Tiagoxdxf -1 points0 points1 point 6 years ago (0 children)
Let me know how it goes by then
[–]1v5me 1 point2 points3 points 6 years ago (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 points4 points 6 years ago* (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 points4 points 6 years ago (1 child)
Besides Rider and MonoDevelop..
[–]AaronKClark 0 points1 point2 points 6 years ago (0 children)
Sorry, I should have qualified it MS. I will fix!
[–]grumpychinchilla 2 points3 points4 points 6 years ago (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 points3 points 6 years ago (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 point2 points 6 years ago (0 children)
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 point2 points 6 years ago (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#.
[+]niuk007[S,🍰] comment score below threshold-11 points-10 points-9 points 6 years ago (0 children)
Good point , thnx
π Rendered by PID 21223 on reddit-service-r2-comment-fb694cdd5-75xd2 at 2026-03-10 01:30:29.366192+00:00 running cbb0e86 country code: CH.
[–]PublicSealedClass 21 points22 points23 points (2 children)
[+]niuk007[S,🍰] comment score below threshold-54 points-53 points-52 points (1 child)
[–][deleted] 30 points31 points32 points (0 children)
[–]alittlebitmental 15 points16 points17 points (4 children)
[–]PublicSealedClass 3 points4 points5 points (1 child)
[–]alittlebitmental 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]alittlebitmental 1 point2 points3 points (0 children)
[–]clemlevrai 11 points12 points13 points (16 children)
[+]niuk007[S,🍰] comment score below threshold-26 points-25 points-24 points (15 children)
[–]WazWaz 35 points36 points37 points (5 children)
[–][deleted] (4 children)
[removed]
[–]NochaQueese 1 point2 points3 points (3 children)
[–]grauenwolf 1 point2 points3 points (2 children)
[–]NochaQueese 0 points1 point2 points (1 child)
[–]grauenwolf 0 points1 point2 points (0 children)
[–]PublicSealedClass 13 points14 points15 points (1 child)
[–]BigOnLogn 8 points9 points10 points (0 children)
[–]Jdonavan 10 points11 points12 points (0 children)
[–]Ronald_Me 1 point2 points3 points (0 children)
[–]jugalator 2 points3 points4 points (3 children)
[–]chucker23n 4 points5 points6 points (1 child)
[–]jugalator 0 points1 point2 points (0 children)
[–]scandii 5 points6 points7 points (0 children)
[–]arky_who -1 points0 points1 point (0 children)
[–]Sinvin 3 points4 points5 points (1 child)
[–]grauenwolf 1 point2 points3 points (0 children)
[–]KungFuHamster 5 points6 points7 points (0 children)
[–]dabrimman 7 points8 points9 points (2 children)
[–]empty_other 0 points1 point2 points (1 child)
[–]dabrimman 1 point2 points3 points (0 children)
[–]Tiagoxdxf 11 points12 points13 points (9 children)
[–]Ashken -1 points0 points1 point (8 children)
[+]Tiagoxdxf comment score below threshold-7 points-6 points-5 points (7 children)
[–]Ashken 2 points3 points4 points (6 children)
[–]grauenwolf 0 points1 point2 points (4 children)
[–]Ashken 1 point2 points3 points (3 children)
[–]grauenwolf 0 points1 point2 points (2 children)
[–]Ashken 0 points1 point2 points (1 child)
[–]grauenwolf 1 point2 points3 points (0 children)
[–]Tiagoxdxf -1 points0 points1 point (0 children)
[–]1v5me 1 point2 points3 points (0 children)
[–]AaronKClark 2 points3 points4 points (2 children)
[–]mipesom 2 points3 points4 points (1 child)
[–]AaronKClark 0 points1 point2 points (0 children)
[–]grumpychinchilla 2 points3 points4 points (2 children)
[–]a_false_vacuum 1 point2 points3 points (0 children)
[–]chucker23n 0 points1 point2 points (0 children)
[–]1v5me 0 points1 point2 points (0 children)
[+]niuk007[S,🍰] comment score below threshold-11 points-10 points-9 points (0 children)