Class A (Solids) - could be paper, cardboard, furnitures, common in offices & manufacturing & structure of building, water extinguisher should never used near electrical equipment
Class B (Liquids) - fluids, liquids, chemicals in workplace, solvents, fuels, inks, paints, rare but more deadly than other type of fire, foam or powder extinguishers
Class C (Gases) - could be natural gas, LPG or other types of gases, the only safe method is to shut off the gas supply, dry powder extinguisher
Class D (Metals) - not often thought as combustible material, can be sodium, water can act as accelerant on metal fires, dry powder extinguisher
Electrical fires - not strictly a class of fire, because electricity is more source of ignition than fuel, electrical fires can fall into any of these classifications, it is not the electricity burning but surrounding material that set alight by electric current, you shouldn't use water, carbon dioxide & dry powder in low voltages situations, always turn off power supply if you can
Class F/K (Cooking fats/oils) - deep fat frying & spillages of flammable oils, wet chemical extinguisher, you could also use fire blanket