How to Setup C# in Visual Studio Code Full Setup

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello friends today in this tutorial I will be telling you that how to set up the c-sharp development environment in Visual Studio code from scratch so we will be building a hello world program in c-sharp in Visual Studio code so before making the program of which he see a c-sharp you must install the.net framework so just go to this website dotnet dot Microsoft comm and install the.net course SDK software development kit so here you will get the data direct click first of all you just need to copy this and paste it in your browser so this will be a Exe file it will download it you will see that I have already downloaded it so it will be having the installation instructions step by step so just install this after installing it you will be opening the command line and if you execute this command which is dotnet this command will be successful so if you get the response like this then you have successfully installed the dotnet command into your system dotnet framework now you just need to create a simple project inside your desktop let's suppose I create a new folder I call it as C shop and I want to open this inside my visual studio code so I can just open command line and here I can just open this folder inside visual studio code so for building the C shop application you must require some extensions to be installed inside your Visual Studio code so just go to extensions tab here and here you just need to install a extension which is Ashish c-sharp so this is a extension that is powered by Microsoft that is available for you so it is I have already installed this extension so just install this so this will take some time here to install so just click the install button and it will install for you and the other extension is is let me just tell you c-sharp if you type c-sharp you will get these extension c-sharp snippets so it will be having the snippets for Visual Studio code for c-sharp language so also install this plugin so just click the install button and there is a c-sharp extensions plug-in also so also install this so these are three plugins that you need to install for going for making which will see shop applications inside your Visual Studio code and now you be opening your integrated terminal here so first of all close this tab here and go to new terminal integrated terminal so we will be writing a simple command which is dotnet new console so this will should read the files for us so enter this command so this will create these files here you can see that guys it has created this file here if I open this file this is a c-sharp program so basically you can see that this is a HelloWorld program that it has generated for us in Visual Studio code in order to run this program it is very easy the command is just succeed succeeding here so just wait so after that you just need to run this command dotnet restore so this will execute it dotnet restore so just execute this so it has completed and now after that you just need to run the run the program so for running the program you will be running this command dot dead run so enter it so just click ask yes here so it will run the program you will see that guys it has successfully printed out hello world on the screen in the console you can just change the test to anything hello world this is welcome to CC shop and now if I again run this program here run the program so you will see that it will be generating this text that is hello world welcome to C shop so just you can see that hello world welcome to C shop so in this tutorial we have saw how to build a basic program in C shop in Visual Studio code from scratch and if you like this video then please hit the like button and please hit the red subscribe button and also tapping the notification by like and I will be seeing you next video until then thank you very much
Info
Channel: Coding Shiksha
Views: 215,895
Rating: undefined out of 5
Keywords: coding shiksha, How to Setup C# in Visual Studio Code Full Setup, how to setup c# in visual studio code, how to set up c#, how to set up c# in visual studio, visual studio code c#, c# setup project visual studio 2019, c# setup project visual studio 2017, c# setup project with database, c# hello world visual studio 2019, c# hello world visual studio 2017, c# hello world visual studio code
Id: Y7GMBmd1EAk
Channel Id: undefined
Length: 4min 32sec (272 seconds)
Published: Wed Dec 18 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.