public string String() { int lastIndexOf = _index.Value(); if (lastIndexOf == NotFound) { return(_source.String()); } return(_source.String().Insert(_index.Value(), _target.String())); }
public string String() { int lastIndexOf = _lastIndexOf.Value(); if (lastIndexOf == NotFound) { return(_source.String()); } return(_source.String().Remove(lastIndexOf, _lengthOf.Value())); }
public string value() { var d = _diff.Value(); if (d > 0) { _str = "Слишком маленькое число!\n"; } else if (d < 0) { _str = "Слишком большое число!\n"; } else { _str = ""; } return(_str); }
public int Value() { return(_secret.Value() - _guess.Value()); }