dotnet / dotnet/dotnet-api-docs

Add output for code snippets

Open
#797 1 comment 0 reactions 0 assignees View on GitHub
.net/prod area-System.Net example-request help wanted Pri2
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

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**

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.