Not answering per se, but adding an image to illustrate they can sometimes be ambiguous:
![Capacitor lineup](https://cdn.statically.io/img/i.sstatic.net/WZwi5.jpg)
Left: marking on top is "22K400∎". 22nF 10% 400V. Appears to be polypropylene (nice high Q factor). Unknown manufacture (salvaged). For reference, it's about 11 x 10 mm, 3.4mm thick.
Center: new (from a couple years ago) TDK FG22X7R1H225KNT06, a 2.2uF 50V 10% X7R ceramic. Basically an MLCC with leads welded on, dipped in epoxy. This is the smallest one here.
Right: 2.4nF 5% 100VDC polypropylene, possibly by TSC Group. Salvaged. Also pretty thin, but a noticeable bulge implying a wound rather than stacked or chip construction.
Most parts you will see in repair will be more obvious.
But this isn't a very design oriented question so I'll leave things at this.