--- id: csharp-get-started title: "C# Get Started" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["Visual Studio setup", "C# IDE", "C# μ‹œμž‘ν•˜κΈ°"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.85 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["csharp", "programming-language", "w3schools", "setup", "visual-studio"] raw_sources: ["https://www.w3schools.com/cs/cs_getstarted.php"] applied_in: [] github_commit: "" --- # [[CSharp Get Started]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) Unlike C/C++'s tutorial-neutral "any compiler will do" framing, this chapter names ONE specific tool β€” Visual Studio Community β€” as the recommended path, and justifies it not on technical merit but on ownership: "the program, the framework, and the language are all created by Microsoft," a same-vendor argument that has no equivalent in the C/C++ chapters (gcc/clang are not made by the same organization that wrote the C/C++ standard). [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **IDE (Integrated Development Environment)** β€” used to edit and compile code; Visual Studio Community is the recommended free option. [S1] - **Same-vendor stack** β€” Visual Studio, the .NET Framework, and C# are all Microsoft products, which is given as the reason to prefer Visual Studio specifically. [S1] - **Console App (.NET Core)** project template β€” the starting project type used throughout the tutorial. [S1] - **Auto-generated boilerplate** β€” creating a new console project auto-generates a `Program.cs` file containing `using System;`, a `namespace`, a `class Program`, and a `static void Main(string[] args)` method with a `Console.WriteLine("Hello World!");` call β€” introduced here without explanation, to be unpacked in the next chapter (Syntax). [S1] - **F5 to run** β€” pressing F5 (or Debug β†’ Start Debugging) compiles and executes the code. [S1] - **W3Schools "Try it Yourself"** β€” the tutorial's own in-browser alternative to installing Visual Studio, used throughout the rest of the series. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - Full auto-generated starter file: ``` using System; namespace HelloWorld { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } } ``` [S1] - Expected console output after running: `Hello World!` followed by a process-exit message. [S1] - A debugging option is mentioned to auto-close the console window when debugging stops (Tools β†’ Options β†’ Debugging). [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) - **툴체인 선택이 언어와 결합됨**: C/C++ νŠœν† λ¦¬μ–Όμ€ 컴파일러 선택을 μ‚¬μš©μžμ—κ²Œ λ§‘κΈ°κ³  μ–΄λ–€ ν‘œμ€€ μ€€μˆ˜ μ»΄νŒŒμΌλŸ¬λ“  λ¬΄λ°©ν•˜λ‹€λŠ” μ „μ œμ˜€μ§€λ§Œ, C#은 μ²˜μŒλΆ€ν„° "μ–Έμ–΄Β·ν”„λ ˆμž„μ›Œν¬Β·IDEκ°€ λͺ¨λ‘ 같은 νšŒμ‚¬ μ œν’ˆ"μ΄λΌλŠ” 이유둜 Visual Studioλ₯Ό 사싀상 μœ μΌν•œ ꢌμž₯ 경둜둜 μ œμ‹œν•œλ‹€λŠ” 점이 확인됨. [S1] ## πŸ› οΈ 적용 사둀 (Applied in summary) Visual Studioμ—μ„œ μƒˆ Console App (.NET Core) ν”„λ‘œμ νŠΈλ₯Ό μƒμ„±ν•˜κ³  F5둜 μ‹€ν–‰ν•΄ "Hello World!"λ₯Ό 좜λ ₯ν•˜λŠ” 전체 μ„€μΉ˜β†’μ‹€ν–‰ 흐름이 μ›λ¬Έμ—μ„œ 직접 μ‹€μ „ ν™œμš© μ‚¬λ‘€λ‘œ μ œμ‹œλ¨. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) Auto-generated Visual Studio console app boilerplate (C#): ```csharp using System; namespace HelloWorld { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } } ``` ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference, not a primary standards body) - **μ‹ λ’° 점수:** 0.85 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[C# Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[CSharp Intro]], [[CSharp Syntax]] - **μ°Έμ‘° λ§₯락:** Basics μ„Ήμ…˜ β€” Syntax μ±•ν„°λ‘œ 이어짐(이 μ±•ν„°μ—μ„œ λ“±μž₯ν•œ λ³΄μΌλŸ¬ν”Œλ ˆμ΄νŠΈλ₯Ό ν•œ 쀄씩 μ„€λͺ…). ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” C# Get Started β€” https://www.w3schools.com/cs/cs_getstarted.php ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "C# Get Started" page (Astra wiki-curation, P-Reinforce v3.1 format).