- using System;
- using System.Collections.Generic;
- using System.Linq;
- namespace ForgetCode
- {
- public class MainClass
- {
- public static void Main()
- {
- Display(new List<bool> { true, false, false });
- }
- static void Display(IEnumerable<bool> argument)
- {
- foreach (bool value in argument)
- {
- Console.WriteLine(value);
- }
- }
- }
- }
True |
---|
False |
False |