# 1.โปรแกรมที่ต้องลง

💬 ในการเขียนภาษา C# เราจะต้องติดตั้งโปรแกรมนิดโหน่ย เพื่อให้เครื่องคอมเราทำงานด้วยได้นะฮ๊าฟ ซึ่งโปรแกรมที่ต้องติดตั้ง **ดช.แมวน้ำ** ขอแนะนำ 2 ตัวนี้นะ *(เลือกแค่ตัวเดียวก็พอนะ แต่ถ้าอยากลงทั้งคู่ก็ไม่เป็นไรแค่เปลืองพื้นที่เจ๋ยๆ)*

## Visual Studio Community

> เหมาะสำหรับคนที่ใช้งานจริงจัง ลงตัวนี้ตัวเดียวจบเลย ใช้งานง่ายไม่ต้องใช้ **Command line** โหลดจากลิงค์ด้านล่างนี้ [https://visualstudio.microsoft.com/vs/community](https://visualstudio.microsoft.com/vs/community/)

{% hint style="warning" %}
คนที่จะลงตัวนี้ลองเช็คเครื่องตัวเองดูก่อนนะว่า มีพื้นที่เหลือ 20 GB ขึ้นไป และเครื่องไม่ช้า ส่วน Ram ขั้นต่ำคือ 4 GB แต่แนะนำว่า 8 GB จะดีมาก *แต่ถ้าไม่สนใจคำเตือนอยากลองลงดูก็ได้นะ เครื่องไม่พังหรอกแต่มันอาจจะอืดๆหน่อยนะจุ๊*
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=3xClZEh9sU8&list=PLUjAn8nwWnijERZ3HpzBk7NfSrau74_lQ&index=4>" %}

## Visual Studio Code

อันนี้เป็นรุ่นน้องเล็ก เหมาะสำหรับคนที่อยากลองเขียนโปรแกรมใหม่ๆ แต่ต้องติดตั้งของ 2 อย่างคือ **Visual Studio Code** และ **.NET Core SDK** ด้วย

| โปรแกรม            | ลิงค์ดาวโหลด                                                    |
| ------------------ | --------------------------------------------------------------- |
| Visual Studio Code | [https://code.visualstudio.com](https://code.visualstudio.com/) |
| .NET Core SDK      | <https://dotnet.microsoft.com/download>                         |

{% hint style="info" %}
ข้อดีของตัวนี้คือไฟล์ไม่ใหญ่ คอมไม่ต้องเร็วมากก็ทำงานได้ไม่มีปัญหา แต่ข้อเสียคือต้องใช้ **Command line** หน่อยนึงนะจ๊ะ
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=57b7SbYwgrE&list=PLUjAn8nwWnijERZ3HpzBk7NfSrau74_lQ&index=3>" %}

## .NET In-Browser

อันนี้แถมนะจ๊ะ สำหรับคนที่ขี้เกียจลงทุกๆอย่างที่ว่ามา แล้วอยากลองวิชาเลย สามารถเข้าไปลองใช้ C# ผ่านเว็บไซต์ด้านล่างนี้ได้เบย

{% hint style="danger" %}
มันใช้ลองวิชาแบบเร็วๆได้ แต่มันเอาไปเขียนเป็นแอพจริงๆไม่ได้นะ เพราะมันอยู่บนเว็บ พอปิดหน้าเว็บโค้ดทั้งหมดก็อาจจะหายไปด้วยเน่อเดี๋ยวจะหาว่านู๋ไม่เตือน
{% endhint %}

<https://dotnet.microsoft.com/learn/dotnet/in-browser-tutorial/1>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.saladpuk.com/beginner-1/csharp101/basic/tools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
