How to setup snippets in visual studio?
The 3 month old video said to find csharp.json. I found only csharp but once i clicked on it the file said csharp.json so im assuming it's the same. The code was entirely different and I had to copy out the code as in the video. I think i copied it correctly but it seems that it says it's wrong? I literally started today so I don't know anything at all about visual studio or csharp


10 Replies
the right image is what I did
the video opened the snippet template with that, while for me it was originally like this:

forgot the ',' after the ]
thanks! i got something like this when i use it. Just wondering but is it still worth using even though it takes up that much more space? its kinda confusing to me but i guess thats probably because im new to C#

forgot a '}' to close Main
you never did some c# before ?
nope. only python, but most of the python i learnt was 4 years ago and it was only beginner stuff.
the ss i sent is what i get when i type 'main' and then press tab. How would i make it so that there is a close bracket in this

you might have deleted one by mistake
try to put it back
i accidentely used a normal bracket rather than the curly one after 'your code here'.
I need to learn how the 3 brackets differ
you will need only curly braquet
normal brackets are for priority on operations or for calling functions