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