mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2025-01-04 03:00:20 +00:00
18 lines
411 B
C#
18 lines
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();
|
||
|
}
|
||
|
}
|
||
|
}
|