mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2024-12-25 11:21:12 +00:00
18 lines
No EOL
411 B
C#
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();
|
|
}
|
|
}
|
|
} |