mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2024-11-16 03:00:19 +00:00
18 lines
No EOL
421 B
C#
18 lines
No EOL
421 B
C#
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace MonoStockPortfolio.Framework
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
} |