This is a commonly used method for C. elegans gonad dissection followed by freeze crack, which produces germline samples for immunofluorescence via antibody staining, or for simple DAPI staining to visualize DNA. This protocol has been successful for undergraduates in a research lab and in a course-based undergraduate research experience.
Ananthaswamy, D., Croft, J. C., Woozencroft, N., Lee, T. W. C. elegans Gonad Dissection and Freeze Crack for Immunofluorescence and DAPI Staining. J. Vis. Exp. (187), e64204, doi:10.3791/64204 (2022).