The class of all classes not containing themselves

In ZF classes are used informally to resolve Russells Paradox, that is the collection of all sets that do not contain themselves does not form a set but a proper class. But doesn’t the same paradox manifest itself when discussing the class of all classes that do not contain themselves?

Solutions Collecting From Web of "The class of all classes not containing themselves"

Classes in ZF are merely collections defined by a formula, that is $A=\{x\mid \varphi(x)\}$ for some formula $\varphi$.

It is obvious from this that every set is a class. However proper classes are not sets (as that would induce paradoxes). This means, in turn, that classes are not elements of other classes.

Thus discussion on “the classes of all classes that do not contain themselves” is essentially talking about sets again, which we already resolved.

Of course if you allow classes, and allow classes of classes (also known as hyper-classes or 2-classes) then the same logic applies you have have another level of a collection which you can define but is not an object of your universe.