Closed DorCoMaNdO closed 8 years ago
Perhaps a runtime compiler for C# (and VB.NET as they mostly support each other) would be a good idea, it would let beginners avoid some of the hassle that's involved in compiling code sometimes.
A runtime compiler seems unnecessary. Also it limits the references to those we provide (if we dont do some sort of dependency resolving).
A runtime compiler, like any other compiler, will require dependency references, but those are already provided with the shipped binaries. Yes references to additional binaries would probably be harder (not impossible, it would work with solutions like p/invoke), but anyone who knows how to reference to additional binaries would probably know how to compile the code, so that's not a problem.
Another fix relating to C#6
Added SendChatMessageToAll(string message) and SendChatMessageToPlayer(NetConnection player, string message), passing an empty string through sender. - Simplifying functions as much as possible helps C# beginners a lot.