MonodroidStockPortfolio/MonoStockPortfolio/StringExtensions.cs

18 lines
411 B
C#
Raw Normal View History

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();
}
}
}