2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System.Text
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
// This class represents a mutable string. It is convenient for situations in
|
|
|
|
// which it is desirable to modify a string, perhaps by removing, replacing, or
|
|
|
|
// inserting characters, without creating a new String subsequent to
|
|
|
|
// each modification.
|
|
|
|
//
|
|
|
|
// The methods contained within this class do not return a new StringBuilder
|
|
|
|
// object unless specified otherwise. This class may be used in conjunction with the String
|
|
|
|
// class to carry out modifications upon strings.
|
|
|
|
//
|
|
|
|
// When passing null into a constructor in VJ and VC, the null
|
|
|
|
// should be explicitly type cast.
|
|
|
|
// For Example:
|
|
|
|
// StringBuilder sb1 = new StringBuilder((StringBuilder)null);
|
|
|
|
// StringBuilder sb2 = new StringBuilder((String)null);
|
|
|
|
// Console.WriteLine(sb1);
|
|
|
|
// Console.WriteLine(sb2);
|
|
|
|
//
|
|
|
|
//| <include file='doc\StringBuilder.uex' path='docs/doc[@for="StringBuilder"]/*' />
|
|
|
|
[RequiredByBartok]
|
|
|
|
public sealed class StringBuilder {
|
|
|
|
[RequiredByBartok]
|
|
|
|
internal String m_StringValue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|