DNK has a spanking new server up and running like clockwork. Stability problems are a thing of the past. Our new monitoring service reports 100% uptime since the move!
28
kicks
published 1 year, 8 months ago, submitted by rmorlok 1 year, 8 months ago

nyxtom.vox.com — Everyone knows the basic C# keywords, but some are more obscure. This article dives into some useful C# keywords that you may have yet to encounter.

Add a comment 6 comments | category: | Views: 44 | Get KickIt image code
Uncommon C# Keywords
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:
Probably not as simplistic an article as the title may lead to believe. Useful for all devs to skim over at least.
posted by Chad.Smith 1 year, 8 months ago
He missed some big, undocumented keywords like __makeref, __arglist and others.
posted by JudahGabriel JudahGabriel 1 year, 8 months ago
People who use undocumented keywords in their chode should have their fingers broken with hammers. Present company excepted, of course.

Also, the 'volatile' keyword behaves differently on different architectures and should usually be avoided...
posted by yesthatmcgurk yesthatmcgurk 1 year, 8 months ago
Should have also added the "fixed" keyword.
posted by senfo senfo 1 year, 8 months ago
Ugh. The guy stole the whole fucking article from other sources. Here's his stackalloc paragraph:

http://www.codeproject.com/dotnet/pointers.asp

Unkicked, and so help me I'd abuse my mod powers and delete this if it wasn't on the front page.
posted by yesthatmcgurk yesthatmcgurk 1 year, 8 months ago
I agree Mcgurk, really no one should be using undocumented keywords. I also agree about the volatile thing; we have a 250k line C# codebase and not a single volatile (or undocumented) keyword usage. :-)

We use yield all the time, however, despite the article mentioning how rarely used that is.
posted by JudahGabriel JudahGabriel 1 year, 8 months ago



information Login or create an account to comment on this story

Related Stories:
 

Search: