Some code demands a little breathing room. Phil found this block of C#, which makes sure it has plenty of space to do its work.

public string AddSpace(string value)
       {
            string space = " ";
           if (value.Equals(space))
           {
               return space;
           }

           return value;
       }

This code is a special little treat of uselessness . Not only does it do nothing, it does absolutely nothing in a very technical way.

Strings are immutable in C#, and the runtime takes advantage of that by storing each unique string only once, in an intern . Not only does this code always return a reference to the same value, it actually returns the same reference in most cases.

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!