ToString() public method

Returns a string representing the current object.
public ToString ( ) : string
return string
コード例 #1
0
 /// <summary>
 /// Appends the given string to the end of this object.
 /// </summary>
 /// <param name="str"> The string to append. </param>
 public void Append(ConcatenatedString str)
 {
     Append(str.ToString());
 }
コード例 #2
0
 /// <summary>
 /// Appends the given string to the end of this object.
 /// </summary>
 /// <param name="str"> The string to append. </param>
 public void Append(ConcatenatedString str)
 {
     Append(str.ToString());
 }
コード例 #3
0
 /// <summary>
 /// Returns a new ConcatenatedString instance containing the concatenation of this ConcatenatedString
 /// and the given string.
 /// </summary>
 /// <param name="str"> The string to append. </param>
 /// <returns> A new ConcatenatedString instance representing the concatenated string. </returns>
 public ConcatenatedString Concatenate(ConcatenatedString str)
 {
     return(Concatenate(str.ToString()));
 }
コード例 #4
0
 /// <summary>
 /// Returns a new ConcatenatedString instance containing the concatenation of this ConcatenatedString
 /// and the given string.
 /// </summary>
 /// <param name="str"> The string to append. </param>
 /// <returns> A new ConcatenatedString instance representing the concatenated string. </returns>
 public ConcatenatedString Concatenate(ConcatenatedString str)
 {
     return Concatenate(str.ToString());
 }