阅读背景:

在f#中使用StringBuilder是正确的吗?

来源:互联网 

StringBuiler is a mutable object, F# encourages employing immutability as much as possible. So one should use transformation rather than mutation. Does this apply to StringBuilder when it comes to building a string in F#? Is there an F# immutable alternative to it? If so, is this alternative as efficient?StringBuiler is a mutable object, F# encourages




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: