Created
September 5, 2019 12:22
-
-
Save HolyMonkey/9473391ed1dec3af3924f4b5b823970b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Scenario | |
{ | |
private string[] _pages; | |
public Scenario(string[] pages) | |
{ | |
_pages = pages; | |
} | |
public void Show(int delayPerPage) | |
{ | |
for (int i = 0; i < _pages.Length; i++) | |
{ | |
Console.WriteLine(_pages[i]); | |
Thread.Sleep(delayPerPage); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment