How to Run C# in Visual Studio Code on Windows 10 2022

preview_player
Показать описание
Run csharp and .NET program in visual studio code on windows
Hey, guys in this video I'm going to show you how you can configure visual studio code (#vscode) to run C# program on #Windows10 OS (operating system) visual studio code C# and I'm also gonna show you how you can run two sample user input program on #vscode_csharp dotnet core in vscode

Command : "cd $dir && dotnet run $fileName"

****[UPDATE]****
For those who get the error "The token '&&' is not a valid statement separator in this version." You can use the semicolon to separate commands.

Command : "cd $dir; dotnet run $fileName"

Learn C# Programming - WPF, Databases, Linq, Collections, Game Development with Unity. More than just the C# basics!

Time Stamp

0:00 - Introduction
0:37 - How to download Dotnet core SDK on windows 10
1:30 - How to install Dotnet core SDK on Windows10
2:08 - How to Check Dotnet core SDK version
2:41 - How to download visual studio code on windows 10
3:30 - How to install visual studio code on windows 10
4:46 - How to setup visual studio code for running C# programs using Code Runner Extension
5:16 - Create your first C# program in visual studio code
6:54 - How to run C# program in vscode using terminal
7:15 - How to run C# program in vscode using coderunner extension
9:01 - Create read input C# program in vscode
9:25 - Run C# program that takes input from the user in visual studio code

★★★Best Online Programming Courses★★★

My name is Yogendra Singh and on this channel @TechDecode , I show you how you can easily download and install any programming language compiler vs interpreter and #programming hub for learning the latest programming language.

Consider subscribing for best ide and coding Bootcamp.

If you found this video useful please give it a thumbs up and subscribe to my channel! and If you have any questions regarding this video, please ask them in the comment section. thanks for watching! :)

DISCLOSURE: This video and description might contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help supports the channel and allows us to continue to make videos like this. Thank you for the support! [Intro Song Credit]
Valence - Infinite [NCS Release]
Рекомендации по теме
Комментарии
Автор

After spending 3 hours on searching how to run a C# program using the new version of visual studio, this man solve the problem in very few minutes. Thank you so much!

ziad
Автор

Tutorials that works on the first time are rare to find. Thank you so much

charlesbrunelle
Автор

You have finally ended two weeks of my personal hell!
I haven't been able to test c# scripts or programs without error until you gave me the anwer.
Thank you

davidpetty
Автор

Great video, was facing issues when running the c# code in Visual Studio Community 2022, came across your video followed each step and now my code runs smoothly on Visual Studio Code 2022.
Appreciate how you explained each step thoroughly and really liked how you considered these segments in the video, usually people just tell you about the installation process and don't follow through with the next required tasks/steps to have your code running.

hassanabid
Автор

I like this tutorial, much more easier to follow & well explained! You earned a sub keep it up my friend!

belchertrongco
Автор

Got me up and running in no time, and I learned a lot. Thank you. ( I subscribed && liked! )

_johnelia
Автор

Thank you so much for these!
I have struggled with these for weeks.
Keep up the good work.

Servant_of_Jesus_Christ
Автор

Can always rely on Indian tech YouTubers.

edwardisterling
Автор

Thank you so much ! your step by step explanation is easy to understand even for a beginner like me.Be blessed and please continue you great job !

smalljpmorgan
Автор

I have searched a lot about how to configure c# and .NET in my system, but nothing found. This one video helped me to configure everything and It is completely working fine, Thankzz bro

nandhukrishnanh
Автор

I have been looking for this video for a long time, thank you!

jessandreno
Автор

After spending hours and watching more than 5 tutorials about how to fix the scriptcs error, I finally got it fixed applying your tutorial. Thx a lot!!!

brunovalente
Автор

gotta say i was f*cking with trying to run my code in VSCode and then i found this video



respect man, respect

Benjolelol
Автор

This Was A Really Helpful Tutorial And It Helped A Lot, Thanks!

Crystallizer
Автор

thank you. You are literally my saviour, you explain things in such a simple way. Really, thank you.

swago
Автор

I've looked everywhere for tutorials to setup C# but none of them worked for me, not even brackey's tutorial! Luckily this one did it for me

Jules-qzvm
Автор

Thanks for the tips. it is an amazing step-by-step tutorial.
I truly appreciate the effort.
Thanks again

ABMA
Автор

Thank you SO much Sir, you've honestly helped me a ton! Much appreciated from Andhra Pradesh. I've looked everywhere for tutorials to setup C# but none of them worked for me, not even brackey's tutorial! Luckily this one did it for me. Once again thank you so much.

rameshyandra
Автор

OMG, Thank you so much, I have been struggling with my terminal not running my code, thank you so much!

donnyc.
Автор

Thank you so much, I kept getting errors but you just saved me by making this video!

shaat