private static void AddEntryToDictionary(Dictionary<string, List<COMCLSIDEntry>> dict, COMCLSIDEntry entry)
{
List<COMCLSIDEntry> list = null;
string strServer = entry.Server.ToLower();
if (dict.ContainsKey(strServer))
{
list = dict[strServer];
}
else
{
list = new List<COMCLSIDEntry>();
dict[strServer] = list;
}
list.Add(entry);
}