using System.Collections.Generic;
public static class Program
static WebClient client = new WebClient();
public static void Main()
DoTheMaubachMollesting("http://en.wikipedia.org/wiki/Category:Japanese_feminine_given_names");
DoTheMaubachMollesting("http://en.wikipedia.org/w/index.php?title=Category:Japanese_feminine_given_names&pagefrom=Nanami#mw-pages");
public static void DoTheMaubachMollesting(string uri)
string s = client.DownloadString(uri);
foreach (var name in s.Split(new string[] { "</a></li>" }, StringSplitOptions.RemoveEmptyEntries).Shuffle<string>())
int posStart = name.LastIndexOf('>')+1;
int posEnd = name.Length - posStart;
Console.WriteLine(String.Format("Maubach mollestered {0}", name.Substring(posStart, posEnd)));
public static IList<T> Shuffle<T>(this IList<T> list)
Random rng = new Random();