Skip to content

Contribution

SirKingBinx edited this page Apr 6, 2026 · 1 revision

This wiki page will tell you how to style code, test your changes, and submit a patch, new feature, or anything you want to BingusNametags++.

Code Style

namespace BingusNametagsPlusPlus.Folder; // replace "Folder" with the name of the folder holding the file

public class ClassName // class names typed like this
{
    // We recommend using ReSharper to handle most code formatting.
    private static string _privateVariable = "hi"; // private variables prefixed with an underscore (_)
    public static string PublicVariable = "hello"; // public variables typed like class names

    // method names typed like like, no matter the case (unless it is a lambda)
    public void MethodCode()
    {
        // Indentation: 4-space tab
    }
}

public interface IMyInterface { } // all interfaces named I<interface name>
public struct Thingymabob { } // structs typed just like classes

When commenting, do so like this:

/*
 * License text, big long paragraph, stuff that is emphasized and needs space
 */

/* general multi-line thing 
   ababab */

// just a comment

Clone this wiki locally