using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotnetStreams { public interface ITextSource { void Open(); IEnumerable ReadAll(); string Read(); bool Eof(); void Close(); } }