ISO 3166-2:CS was the entry for Serbia and Montenegro in ISO 3166-2, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), which defines codes for the names of the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1.
Serbia and Montenegro was officially assigned the ISO 3166-1 alpha-2 code CS before it was dissolved in 2006, and the entry was deleted from ISO 3166-2 as a result. The two republics, Montenegro (Serbian: Crna Gora) and Serbia (Serbian: Srbija), became independent and are now officially assigned the ISO 3166-1 alpha-2 codes ME and RS respectively.
Before 2003, the name of the country was Yugoslavia, and it was officially assigned the ISO 3166-1 alpha-2 code YU.
Note that while the ISO 3166-1 alpha-2 code CS was used to represent Czechoslovakia before it was dissolved in 1993, this predated the first publication of ISO 3166-2 in 1998.
Read more about ISO 3166-2:CS: Changes