List<string> ips = new List<String>();
var strings = File.ReadAllLines(filepath);
foreach(var item in strings)
{
ips.Add(item.Split(';')[0]);
}
Dictionary<char,int> result = new Dictionary<char,int>()
for(int i=0;i< source.length;i++)
{
try
{
result[source[i]]++;
}
catch(KeyNotFoundException)
{
result.Add(source[i],1);
}
}