dotnet / dotnet/dotnet-api-docs
Add output for code snippets
- Lingua principale
- C#
- Stelle
- 949
- Fork
- 1.7k
- Merge medio
- 2g 19h
- PR unite (30g)
- 52
Descrizione
In pages like this it would be useful to have the output of the code snippets. For example, it's not obvious that the output of:
adapter.GetPhysicalAddress().ToString();
Will be in the format `AABBCCDDEEFF`. Being a MAC address I would have expected the display representation to be `AA:BB:CC:DD:EE:FF`.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 87d7394a-3f17-943a-fa63-7d0ee3df49c4
* Version Independent ID: 93f4c822-8a80-2147-41c5-a69ca5b722f8
* Content: [NetworkInterface Class (System.Net.NetworkInformation)](https://docs.microsoft.com/en-us/dotnet/api/system.net.networkinformation.networkinterface?view=netframework-4.7.1)
* Content Source: [xml/System.Net.NetworkInformation/NetworkInterface.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Net.NetworkInformation/NetworkInterface.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **bobdel**
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da xml/System.Net.NetworkInformation/NetworkInterface.xml e individua l'esempio contenente adapter.GetPhysicalAddress().ToString(). Esamina come sono documentati i frammenti di codice vicini, quindi aggiungi l'output previsto per questo esempio. Verifica che la pagina API NetworkInterface renderizzata mostri chiaramente l'output.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 52/100