MonodroidStockPortfolio/MonoStockPortfolio/StringExtensions.cs
2010-12-18 11:33:29 -05:00

18 lines
No EOL
411 B
C#

using System.Collections.Generic;
using System.Text;
namespace MonoStockPortfolio
{
public static class StringExtensions
{
public static string ToS(this IEnumerable<char> @this)
{
var sb = new StringBuilder();
foreach (char c in @this)
{
sb.Append(c);
}
return sb.ToString();
}
}
}