Single Assignment & readonly Fields in C# (codingndesign.com)

submitted by sankarsansankarsan(460) 1 year, 10 months ago

We have all heard about immutable objects, the objects whose field values cannot be altered throughout it’s lifetime.Immutable objects are simpler to deal with in case concurrent programs where they can be shared between multiple threads.The single assignment variables variables which is once assigned a value cannot be reassigned again.These are inherently immutable in nature.In languages like Haskell,Erlang,F# etc. variables are by default single assignment variables

add a comment |category: |Views: 7

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story