79129658

Date: 2024-10-26 23:41:16
Score: 0.5
Natty:
Report link

Your actual class which does the job can hold singleton instance, you dont need wrapper class here.

Just do:

internal class COctopus
{
    private COctopus() { }

    public static COctopus Instance { get; } = new();

    public override string ToString()
    {
        // Your stuff here
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arthur Edgarov