The trypan blue exclusion assay involves mixing a cell suspension with trypan blue dye and then counting the stained (non-viable) and unstained (viable) cells under a microscope. Viable cells will appear clear, while non-viable cells will take up the blue dye, indicating compromised cell membrane integrity.