Yes, you can do it ... however, it will be an extension method, not a property.
public static class Extensions { public static string DisplayNone(this string instance) { return "blah"; } }
What will need to be used (as if hacked) as "".DisplayNone(); because this will require an instance of the string to be created.
If you wanted to, a slightly less hacky way would be to create a helper class.
public static StringHelper { public static string DisplayNone() { return "blah"; } }
fatty source share