dotnet / dotnet/docs

Missing the using System

Open
#35,940 1 comment 0 reactions 0 assignees View on GitHub
:watch: Not Triaged okr-quality
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

---
**Issue moved from MicrosoftDocs/feedback#3929**
- Please respond to @Tuturado.

---

_From @Tuturado on Monday, June 19, 2023 3:01:28 PM_

**Describe the bug**
In the Objects - create instances of types part, when I clicked to run the first available code snippet, it gives an error, because the using System.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/object-oriented/objects#code-try-0'
2. Click to execute the first or second section
3. The output will indicate the error

**Expected behavior**
I hoped that I didn't need to add anything for the code to work correctly, considering that I'm still a beginner in the language.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 96d36ba2-c119-3871-c1a3-5b9312551273
* Version Independent ID: 7ad0bd5b-db85-7307-8bef-62aded4d0087
* Content: [Objects - create instances of types](https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/object-oriented/objects#code-try-0)
* Content Source: [docs/csharp/fundamentals/object-oriented/objects.md](https://github.com/dotnet/docs/blob/main/docs/csharp/fundamentals/object-oriented/objects.md)
* Product: **dotnet-csharp**
* Technology: **csharp-fundamentals**
* GitHub Login: @BillWagner
* Microsoft Alias: **wiwagn**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.