using System.Collections.Generic;
public class TestWrapper<T> : List<T>
public int Total { get; set; }
public static void Main()
IEnumerable<string> test = GetData();
Console.WriteLine(test.Count());
public static TestWrapper<string> GetData()
var stringarray = new [] {
var result = new TestWrapper<string>
result.AddRange(stringarray);