What are some good techniques when coding in C#?

Well typically I used Boo, since I really like Python, but since it is very hard to find documentation help with the language I end up at a stand still.

So, what are some good things to know when using C# and understanding the .net framework or I guess Monodevelop, which i honestly don’t understand what the means even after I looked it up. I just know they are predefined libraries with good functionality.

So simple to advance technique are welcomed, something like Vector3 newPos = new Vector3.forward. I honestly never had to use new before, but after needing it sometimes when transferring over I picked it up. so rather than finding these little annoyance along the way just wondering if anyone had their own little experiences.

I do like to use Boo a lot, but it seems that C# will take me further. I know all of the 3 languages that Unity support, but nothing advance.

The .NET Framework is a comprehensive application development framework and runtime environment developed by Microsoft. Its runtime compiles and runs an intermediate managed assembly-like language, to which all .NET languages compile. You used .NET with Boo also, because Boo is a typed .NET language with syntax very similar to Python.

Since .NET only runs of Microsoft operating systems but its specification is an openly accessible standard, Mono is a cross-platform implementation of the framework, and it’s byte-compatible (or binary-compatible) with .NET. Unity includes Mono to provide scripting capabilities. Therefore any .NET documentation (on msdn and other sites) is good for working with Mono. MonoDevelop is an opensource alternative to the Visual Studio IDEs, so it’s not a library, it’s just the IDE, you can use any text editor, or even Visual Studio for this.

When it comes to learning about C# and .NET, you can look up lots of tutorials, for example this seems pretty good, it covers many topics:

I just found this interactive tutorial on .NET/C#, seems nice:

C# Coding standards:

You can find further introduction and the whole .NET documentation on MSDN:

A quick reference:

UnityGems also hosts some C# tutorials and Unity-specific best practices.