Guest User

Untitled

a guest
Jul 11th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. namespace Problems
  2. {
  3. using System;
  4. using System.Collections.Generic;
  5.  
  6. internal class Program
  7. {
  8. static IEnumerable<int> F()
  9. {
  10. yield return 0;
  11. Console.WriteLine("1");
  12. }
  13. public static void Main(string[] args)
  14. {
  15. foreach (int i in F())
  16. {
  17. Console.Write($"{i}");
  18. }
  19. }
  20. }
  21. }
Add Comment
Please, Sign In to add comment