- Home /
Explanation of the System and Mono Namespaces
As I've been checking around the forums and scripting reference I've noticed that in addition to Unity's API, there are also classes that come from namespaces (I believe this is what they're called; I'm used to calling them packages) starting with System and Mono.
I've heard Unity uses Mono, but what is the System (from Microsoft I believe) namespace doing here? What confuses me is Mono and System both have at least some classes in common. For example there's System.Data.SqlClient and Mono.Data.SqlClient, which both have the same classes. I don't really get this.
Basically, I want a bit of explanation on how these namespaces fit into Unity, because I'm still a bit confused.
Answer by Duckblaster · Oct 02, 2010 at 10:58 PM
http://www.go-mono.com/docs/ should help, basically it's the same as Microsoft's .Net Framework
So basically Unity Tech have put both of them in their and I can use either one? If that's the case, then I'll go with $$anonymous$$icrosoft's, since it has much better documentation. Thanks.
By the way, I've looked at those docs, and it's not documented much at all. $$anonymous$$ost things have little, or no documentation.
No It's $$anonymous$$ono strictly $$anonymous$$ono. Though .Net documentation is .Net documentation for the most part.
I'm not quite sure what you mean by that. And to the last part, I do realise that .Net docs are .Net docs, lol.
.Net documentation also applies to mono, mono is an open source version of C#, like .Net, so the same code works for both mostly