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