I’m trying to use several String functions such as String.Contains, different versions of String.Split, etc. I’m finding they are not compiling. I need a definitive reference for the current implementation of C# that Unity supports. Is this Mono 1.2.5 or another version? Where do I find a reference specific to the version of Mono C# that Unity supports?
Thanks,
Brian
Yes, Unity is Mono 1.2.5
The documentation you commonly thought will find are Mono 2.x (or MS .NET 3.0+), rarely as old as 1.2.5
A good starting point for Mono documentation in general (its not MS .NET even if it replicates a lot for which reason MSDN in different cases is a very good reference) is http://go-mono.com/docs/index.aspx
This helps. One more question - In these docs there are notes like:
Note: This namespace, class, or member is supported only in version .NET 2.0 and later.
So my question is what version of .NET does Mono 1.2.5 correspond to?
I’d say 1.2.5 is close to version 2.0 of .NET with little bits of of 3.0.
I have a link to MSDNs’ 1.1 version of the framework and, for what I’ve required of directly accessing the framework, it’s been sufficient.