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

Kick Spy!, Kick Zeitgeist and Kick Widgets

3
kicks
submitted by Dancoe 1 year ago

undocnet.blogspot.com — show how to use language specific reserved keywords in fields and properties names and the reason why you might want to do that.

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:
No. Don't.
posted by yesthatmcgurk yesthatmcgurk 1 year ago
Exactly. Avoid using language keywords as member names.
posted by JudahGabriel JudahGabriel 1 year ago
I agree, using language keywords as member names is not a good idea, but you are not in way because of the @ sign you have to prefix the member with. in the article the only place i would use it was when deserializing xml that has elements named like reserved keyword. the xml serializer will match "<string/>" to "public string @string;" with making use of any attribute decoration ie. XmlElementAttribute.
posted by Dancoe 1 year ago
typo "with out making use of any attribute..." not "with"
posted by Dancoe 1 year ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads by The Lounge