Class C refers to the third set of numbers in an IP.
AAA.BBB.CCC.DDD
If all the links came from the same C subnet, they're 'likely' less trusted.
The 'theory' (calling it a theory because i don't think its ever really been proven) is that multiple links from the same C subnet are less valuable because its likely that they come from an owner of multiple websites.
I wouldn't label them as 'bad'
But if you're link building, it's probably a good idea to get links from different subnets