using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace AbundantcodeApp
{
class Program
{
static void Main(string[] args)
{
List<string> strLst = new List<string>();
strLst.Add("Android Development");
strLst.Add("Windows Phone Development");
strLst.Add("Abundantcode Programming");
var result = Split(strLst);
Console.ReadLine();
}
public static List<List<string>> Split(List<string> input)
{
return input.Select((item1, index) => new { Index = index, Value = item1 })
.GroupBy(x => x.Index / 3)
.Select(x => x.Select(v => v.Value).ToList())
.ToList();
}
}
}