
code runner 확장 설치하고

확장 설정에서

settings.json에서 편집

csharp 부분 수정
(이 예시는 namespace와 클래스명이 \_파일명임)
($fileNameWithoutExt는 확장자 제외한 파일명)
using System;
namespace _asdf {
class _asdf {
static void Main(string [] args) {
Console.WriteLine("hello");
}
}
}
Ctrl + Alt + N 누르면 실행


여기에서 스니펫 만든 다음 복붙하면 된다.



이 상태에서 Ctrl Alt N을 누르면 바로 실행된다.
