public void Copy() { char character; while ((character = _source.GetChar()) != '\n') { _destination.SetChar(character); } }
public void Copy() { var c = _source.GetChar(); if (c == '\n') { return; } _destination.SetChar(c); Copy(); }
public void Copy() { char character = '\0'; while (character != '\n') { character = source.GetChar(); if (character != '\n') { desti.SetChar(character); } } }