Question: what is the difference between class library and namespace?
Answer: Namespaces provide a notional separation for classes, class libraries provide a physical separation (in windows think a standalone dll). Class libraries are useful for when you want to wrap up functionality that can be shared with other projects. ... Other important difference is that class is always a data type.