If you would like to write it yourself, first download yourself a C# SDK for the N64.....Wait.
Yeah it'd have to be port to C first.