.NET इंस्टॉल करना
.NET install करना game खेलने से पहले game console लेने जैसा है। C# programs को बनाने और चलाने से पहले आपके computer पर .NET tools चाहिए।
In this page:
Installing .NET
C# programs .NET runtime पर चलते हैं, इसलिए किसी भी C# code को compile या run करने से पहले आपको .NET SDK install करना चाहिए। SDK compiler, runtime, और dotnet command-line tool को bundle करता है।
ऑफिशियल .NET site से Linux, macOS, और Windows के लिए installers उपलब्ध हैं।
Note:
यह पुष्टि करने के लिए कि SDK आपके PATH पर है, install करने के बाद
dotnet --version चलाएं।उदाहरण: Installing .NET
# Linux (Ubuntu/Debian)
sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0
# macOS (Homebrew)
brew install --cask dotnet-sdk
# Windows (winget)
winget install Microsoft.DotNet.SDK.8
# Verify installation (all platforms)
dotnet --version
⚠️ Run this in your own terminal or Node.js environment.
Related Topics
{# common_mistakes/chapter_summary/browser_support: on Hindi pages the
view already swaps in the hi_ translation fields (or blanks these
out if untranslated), so this renders correctly for both languages
without a lang_code check here. #}
आम गलतियां
- सिर्फ runtime install करना और फिर projects build करने की कोशिश करना, जबकि build करने के लिए .NET SDK चाहिए।
dotnet --versionसे install न जांचना, जिससे एक टूटा हुआ PATH ध्यान में नहीं आता।- ऐसा SDK version install करना जो project के target framework से मेल न खाए, जिससे build fail हो जाता है।
🔒
Chapter Quiz — Complete all 7 topics to unlock
0/7 topics done
Complete these topics first: