Answer:
It was a Class C fire, and you need a Class C extinguisher.
Step-by-step explanation:
Electrical fires are Ckass C fires, and since this fire was caused by frayed wires, it IS an electrical fire. The class of extinguisher will typically match the class of the fire, so the extinguisher should be Class C.