Cannot implicitly convert int to string
I'm trying to assign a variable to the "words" in the hashmap but for some reason apparently its an integer?
C#
foreach (var kv in json["lines"]) // there might be a faster way to do this? looks like this algo is On^ NO ITS NOT
{
Dictionary<string, int> lyricMap = new Dictionary<string, int>();
string words = kv.words;
int timeList = kv.startTimeMs;
lyricMap.Add("words", timeList);
{
string wordMap = lyricMap["words"];
}
}