dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.28k stars 5.91k forks source link

Why aren't the examples show IN AN INTERFACE? #29643

Open CmdrBeavis opened 2 years ago

CmdrBeavis commented 2 years ago

It never ceases to amaze me how you guys will show example code totally outside any actual context. Many of those samples (above) are supposedly within an interface declaration. Why don't we SEE THAT?


Document Details

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

BillWagner commented 2 years ago

We should clarify those examples.

The sample code source does have those methods defined in the interfaces. But, when the snippets were extracted for display, the containing interface isn't displayed.