private int SkipAllNewLine()
{
int _char;
while ((_char = _reader.Read())>=0)
{
if (_char == '\n')
{
continue; // continue if it is '\n'
}
else if (_char == '\r' && _reader.Peek() == '\n')
{
// skip the '\n' in the next position
_reader.Read();
// and continue
continue;
}
else
{
// stop here
break;
}
}
return _char;
}