Some C# Coding Guidelines at patrick.veverka.net(patrick.veverka.net)

submitted by veverkapveverkap(815) 5 years, 2 months ago

Some friends and I have compiled a list of C# coding guidelines from many sources.

2 comments |category: |Views: 20

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:

posted by littlecharvalittlecharva(70) 5 years, 2 months ago 0

Some good examples, especially the StringBuilder and ternary operator, but what about using prefixes such as str and int to indicate the type of variable you're using? Or am I out of date, have people moved on from this?

Reply

posted by jasper22jasper22(1320) 5 years, 2 months ago 0

not sure about this.... whoever declare internals variables like int a, b; -> should never do that. Instead declare them: int iMyFirstValiable, iLoopCounter; or may be use FxCop ?

Reply

information Login or create an account to comment on this story