Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1123 posts 3059 karma points
    Oct 04, 2009 @ 18:18
    Lee
    0

    Can I Use Short Hand Property Syntax?

    Just writing a little usercontrol/Macro... Can I use the shorthand sytax in my usercontrol?

    public string myproperty {get; set;}

     

  • Ron Brouwer 273 posts 768 karma points
    Oct 04, 2009 @ 18:50
    Ron Brouwer
    0

    Yes you can!

    Ron

  • Ron Brouwer 273 posts 768 karma points
    Oct 04, 2009 @ 18:51
    Ron Brouwer
    0

    To be more specific. It does not matter how you write things, after compiling it is the same.

    Ron

  • Lee 1123 posts 3059 karma points
    Oct 04, 2009 @ 19:23
    Lee
    0

    Thanks - Just watched the video on Umbraco.tv and Neils uses the shorthand syntax on that.  Should have watched that before I posted ;)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies