Can I take one or two classes at a UC without enrolling at that UC?

<p>I’m curious. Can you pay to take one or two specific classes at a UC, without actually enrolling in said UC? (I don’t know if you pay on a credit by credit basis like at community colleges). </p>

<p>For example, let’s say you’re attending a state university, but there’s a specific class at the UC down the road you’d really like to take - either the class isn’t offered at your state school, or the quality is bad in comparison. Could you pay to take that one class at the UC, even if you don’t receive formal credit for it?</p>