Exemple #1
0
        public async Task <string> ReadLineAsync()
        {
            if (string.IsNullOrEmpty(CommentString))
            {
                return(await BaseReader.ReadLineAsync());
            }

            string line = "";

            do
            {
                line = await BaseReader.ReadLineAsync();
            } while (line != null && line.StartsWith(CommentString));
            return(line);
        }