Skip to content

Latest commit

 

History

History
 
 

iterators

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

C# Iterators Sample

This sample is created during the Iterators topic for learning C# features. Please see that topic for detailed steps on the code for this sample.

Key Features

This sample demonstrates iterating across a data source, and creating iterator methods to control how a data source is visited (or iterated).

Build and Run

To build and run the sample, type the following two commands:

dotnet restore dotnet run

dotnet restore restores the dependencies for this sample. dotnet run builds the sample and runs the output assembly.

[!INCLUDEDotNet Restore Note]