Skip to content

tour-of-csharp/statements - code samples not included completely #8935

@CeciAc

Description

@CeciAc

@FlexOr2 commented on Wed Nov 07 2018

The "code samples" in the statements section are not included completely anymore.
Seems the cause are changes in the "Program.cs" file.


Dokumentdetails

Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.


@CeciAc commented on Wed Nov 07 2018

Hello @FlexOr2
Thank you for your feedback.
I'm checking the live page and I don't see any missing/broken code.
Can you please provide more information so we can work on this issue?

Kind regards,
Microsoft DOCS International Team


@FlexOr2 commented on Thu Nov 08 2018

Hi @CeciAc ,
the method definitions are missing in the code samples for all statements.
E.g. the yield statement code sample looks like:

{ for (int i = from; i < to; i++) { yield return i; } yield break; } static void YieldStatement(string[] args) { foreach (int i in Range(-10,10)) { Console.WriteLine(i); } }

So I don't see the definition of the "Range" method here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions