public static void LoadLastSeen()
{
// Deserialization
List<string> loadList = new List<string>();
XmlSerializer xs = new XmlSerializer(typeof(List<string>));
TextReader xr = new StreamReader("lastseen.xml");
loadList = (List<string>) xs.Deserialize(xr);
xr.Close();
Dictionary<string, DateTime> dict = new Dictionary<string, DateTime>();
foreach (string s in loadList)
{
string key, value;
string[] temp = s.Split(',');
key = temp[0];
value = temp[1];
dict.Add(key, DateTime.Parse(value));
}
Player.lastSeen = dict;
}