mirror of
https://github.com/Ratstail91/Mementos.git
synced 2025-11-29 10:34:27 +11:00
Committed everything
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ink
|
||||
{
|
||||
public static class InkStringConversionExtensions
|
||||
{
|
||||
public static string[] ToStringsArray<T>(this List<T> list) {
|
||||
int count = list.Count;
|
||||
var strings = new string[count];
|
||||
|
||||
for(int i = 0; i < count; i++) {
|
||||
strings[i] = list[i].ToString();
|
||||
}
|
||||
|
||||
return strings;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user