Added: 4 years ago
From: davidmbush
Views: 8,262
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (10)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • WTH is with the read-only ppts in C#? Are they just being cruel for cruelties sake or is there some weird reasoning behind that.

  • ppts?

  • Yes, sorry, Properties.

    Enjoy your videos.

  • Nothing wrong with read only properties in C#

  • No, I mean why are they read only for anonymous types? Is there a reason for that?

  • Oh, right.

    No idea.

  • The F# types they are based on are immutable. In F# this is by design as it fits with the functional programming paradigm. In C# and VB and other imperative languages, this seems like an arbitrary restriction.

  • I think anonymous types use a compiler determined variable. This variable is not known until the code is compiled so how can you access it? If you can't access it, you can't change it, thereby making anonymous types read-only.

  • Thank you for this tutorial. Great lesson.

  • sweet.........im in hurricanne Fay AS I WATCH YOUR VID and im alucky one to with power in Florida

  • Oh no, curly braces in Visual Basic!

  • lol

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more