DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

15
kicks
published 2 months, 12 days ago, submitted by ericdcoolest ericdcoolest 2 months, 13 days ago

atalasoft.com — The difference between the out and ref keywords in C# .. and other questions this brings up.

Add a comment 1 comment | category: | Views: 7 | Get KickIt image code
tags: , | tag it

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:
There is one other important difference that wasn't mentioned. If you reverse the order in which the two methods are called, the code will not compile. This is because the out keyword allows you to pass a variable that have not already been assigned to. A ref argument, on the other hand, requires that the variable be initialized ahead of time.
posted by senfo 2 months, 12 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge